httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Alias returns a "403 Forbidden" error only with PHP files
Date Fri, 22 Feb 2008 19:32:25 GMT
On Fri, Feb 22, 2008 at 2:26 PM, thomas Armstrong <tarmstrong@gmail.com> wrote:
> Hi.
>
>  Using Apache2 on Linux, I get a "403 Forbidden" error only when I
>  access PHP files:
>  http://www.domain.com/foo/hello.php
>  but it works fine with HTML files
>  http://www.domain.com/foo/hello.html
>
>  In addition, PHP scripts work fine on root directory (outside Alias
>  directories):
>  http://www.domain.com/hello.php WORKS OK
>
>  I don't see any information on error logs, and I've got no idea about
>  how to fix this.

Look again in the apache error logs. There really should be something
there. Most likely it is this:
http://wiki.apache.org/httpd/13PermissionDenied

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message