httpd-users mailing list archives

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

Using Apache2 on Linux, I get a "403 Forbidden" error only when I
access PHP files:
but it works fine with HTML files

In addition, PHP scripts work fine on root directory (outside Alias
directories): 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

Any suggestion? Thank you very much,

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message