Hello,

 

I've got a problem when trying to access index.php within my suPHP 
configuration.

When I try to access a php file from the virtual host's docroot I get the 
error: "Directory / is not owned by test"

 

This is my virtual host:

<VirtualHost *:80>

suPHP_Engine on

suPHP_UserGroup test test

suPHP_ConfigPath "/var/www/test"

suPHP_AddHandler x-httpd-php

AddHandler x-httpd-php .php .php3 .php4 .php5

 

DocumentRoot /var/www/test

ErrorLog /var/log/apache2/error.log

CustomLog /var/log/apache2/access.log combined

</VirtualHost>


This is my suphp.conf:

[global]

logfile=/var/log/suphp.log

loglevel=info

webserver_user=www-data

docroot=${HOME}

allow_file_group_writeable=false

allow_file_others_writeable=false

allow_directory_group_writeable=false

allow_directory_others_writeable=false

check_vhost_docroot=true

errors_to_browser=true

env_path=/bin:/usr/bin

umask=0077

min_uid=100

min_gid=100

 

[handlers]

x-httpd-php="php:/usr/bin/php5-cgi"

x-suphp-cgi="execute:!self"

 

# ls -nahl /var |grep www

drwxr-xr-x  3  0   0 4.0K Jan 29 08:55 www

 

# ls -nahl /var/www/

drwxr-xr-x  2 1002 1002 4.0K Jan 29 09:32 test

 

What am I missing?

_______________________________________________
suPHP mailing list
suPHP@lists.marsching.biz
http://lists.marsching.com/mailman/listinfo/suphp

Reply via email to