You are here: owner of files created by fopen() become wrong? « PHP « IT news, forums, messages
owner of files created by fopen() become wrong?

Posted by "Wong HoWang" on 09/06/05 14:48

Hi all,

I am so sorry that I have a lot of questions... This time I got a special
issue... I have set up a VirtualHost for the domain that have problem. Since
I am using Apache/1.3.33 , I have set the User & Group inside & outside the
<VirtualHost ...> ... </VirtualHost> tags. As you know, the user & group
set outside VirtualHost will be the user & group that the main server run
with. And the one inside will be used for that domain only. The question
comes, when I trying to run a script that use fopen('xxxx.xxx','w'); to
create a file(or even create a dir), the file owner & group is 'apache',
that is the user & group I run apache with, but NOT the one inside the
<VirtualHost>!!! I have tried to restart my server and make sure the
httpd.conf loaded corrrectly, but the question is still there, can anyone
tell me how to solve this problem? Plesae help!

Thx!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация