Alias returns a "403 Forbidden" error only with PHP files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux