You are here: Re: permission denied while include file « All PHP « IT news, forums, messages
Re: permission denied while include file

Posted by Hilarion on 09/15/05 16:40

> Apache must have the right to read and execute (chmod o+rx)
> /home
> /home/lain
> /home/lain/lainlib
> /home/lain/public_html

Execute should be enough (chmod og+x-rw). Read access would
allow directory listing, which is not required


> and the right to read (chmod o+r)
> /home/lain/lainlib/global.inc.php
> /home/lain/public_html/index.php

I'd use: chmod og+r-wx


Hilarion

PS.: Those are only details. What Aho gave should work.

 

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

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