httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "thomas Armstrong" <tarmstr...@gmail.com>
Subject [users@httpd] Alias returns a "403 Forbidden" error only with PHP files
Date Fri, 22 Feb 2008 19:26:14 GMT
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.

This is my "httpd.conf" configuration
---------
Alias /foo/ /var/www/httpdocs/modules/foo/web/
<Directory "/var/www/httpdocs/modules/foo/web/">
 Options Indexes FollowSymLinks
  Order Allow,Deny
  Allow from all
  AllowOverride all
 DirectoryIndex index.php
</Directory>
---------

Any suggestion? Thank you very much,
--Thomas

---------------------------------------------------------------------
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