You are here: Re: Access file outside DocumentRoot « PHP Programming Language « IT news, forums, messages
Re: Access file outside DocumentRoot

Posted by Jerry Stuckle on 10/15/07 20:45

b38911@yahoo.com wrote:
>> Well if apache is getting permission denied when it is trying to
>> access the files, what gives you the evidence that it "has access to
>> these files"?
>>
>> If it had access to them, then when it tried to read them it would
>> read them. Getting access denied instead of getting the contents
>> suggests that it does NOT have access.
>>
>> Thanks!
>
>
> you are right....but...I'm looking at the permissions: the files have
> rw access to user and group and they are owned by user apache. I tried
> also a stupid thing: I gave full access (777) to files and dirs, but I
> still get the same error...
> thanks,
>
>

Is Apache actually running as user "Apache"? And who owns the directory
and what are the permissions there?


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

 

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

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