php files not recognized in browser

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri May 13 17:09:37 UTC 2005


On Fri, May 13, 2005 at 11:59:10AM -0400, Alex Maynard wrote:
> Sorry that was a dumb mistake I made, but I get the same error even after
> correcting it and pointing to:
> 
> You don't have permission to access /~amaynard/hello.php on this server.
> 
> Additionally, a 403 Forbidden error was encountered while trying to use an
> ErrorDocument to handle the request.
> Apache/2.0.53 (Unix) mod_ssl/2.0.53 OpenSSL/0.9.7d PHP/5.0.4 DAV/2
> mod_perl/1.999.21 Perl/v5.8.6 Server at localhost Port 80

What are the permissions on public_html in your home dir and on your
homedir itself?

public_html must be o=rx, and your homedir needs at least o=r as far as
I remember.

What does this get you:

grep php -r /etc/apache/

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list