httpd-users mailing list archives

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

- 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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message