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

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

 



I think that this has to do with these lines inserted at the top of
the VirtualHost configuration:

--------------------------------------------
AddHandler fcgid-script .php .php5
SuexecUserGroup myuser psacln
DocumentRoot "/var/www/httpdocs/web"
ErrorLog /etc/httpd/logs/dev_error_log
<Directory "/var/www/httpdocs/web">
  Options ExecCGI Indexes FollowSymLinks
  AllowOverride All
  Allow from all
     FCGIWrapper /var/www/bin/php5 .php5
     FCGIWrapper /var/www/bin/php5 .php
     Order Allow,Deny
</Directory>
-----------------------------

Facts:
- I did: []# chown -R myuser /var/www
- I did: []# chgrp -R psacln /var/www
- I did: []# chmod -R 755 /var/www  (so everybody can execute and read
all the files)
- 'psacln' group does exist in '/etc/group'
- 'myuser' user does exist in '/etc/passwd'
- '/var/www/bin/php5' does exist

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