You are here: Re: PHP Filesystem permissions help « All PHP « IT news, forums, messages
Re: PHP Filesystem permissions help

Posted by J.O. Aho on 07/21/07 17:41

Martin Adams wrote:
> hmm, seems to work if I have my Apache DocumentRoot pointing to
> /var/www/html instead of my /web directory.
>
> Well, I'm still confused why that would make a difference.

Check that you really has access to the directory in question

ls -l /

The directory must have 'x' set for apache to be able to read from it.
If you want to make it "useble" by all, try with

chmom 1777 /web

and lastly, check your apache config, do you use vhost, then you need to chnge
the DocumentRoot in the right place, also see to not have more than one
DocumentRoot for each vhost and for the default host and don't forget to
restart the apache after you made changes in the config.


--

//Aho

 

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

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