You are here: Re: [PHP] Need help with file permissions for PHP files « PHP « IT news, forums, messages
Re: [PHP] Need help with file permissions for PHP files

Posted by John Nichel on 10/04/94 11:10

Kresimir Cosic wrote:
<snip>
> Additional information (if that helps):
> The website is located in directory home/vriho/public_html/
> The mysql database is in home/vriho/db/mysql/ (not shared to other users)
> The local socket file for mysql is at home/vriho/db/socket/
> The parts of website that are "hidden", including the cache file are at
> directory home/vriho/public_html/parts/
</snip>

Just looking at that, if you have to make your files world readable for
them to work, your hosting provider doesn't have the box set up
properly, and you should think about switching. Basically, Apache
should be using suexec to run as the user 'vriho' when serving up pages
for your site. All your files/directories should be owner/group
'vriho', and should have no permissions for _other_.

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com

 

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

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