Hello All,
I've run into an issue setting up suphp 0.7.1 with my RHEL5.3 server.
Background info:
I've used the 0.6.3 rpms from RH as well as compiled (currently using
0.7.1) from source with options : ./configure --with-setid-mode=owner
--with-apache-user=apache --disable-checkpath
My suphp.conf file:
----------------------------------------------------------------------
[global]
logfile=/var/log/httpd/suphp_log
loglevel=info
webserver_user=apache
docroot=/var/www
env_path=/bin:/usr/bin
umask=0077
min_uid=0
min_gid=0 (yes i tested as root, still didn't work)
; Security options
allow_file_group_writeable=true
allow_file_others_writeable=true
allow_directory_group_writeable=true
allow_directory_others_writeable=true
;Check wheter script is within DOCUMENT_ROOT
check_vhost_docroot=false
;Send minor error messages to browser
errors_to_browser=true
[handlers]
;Handler for php-scripts
x-httpd-php=php:/usr/bin/php
;Handler for CGI-scripts
x-suphp-cgi=execute:!self
-------------------------------------------------------------------------------------
My apache module conf:
-------------------------------------------------------------------------------------
LoadModule suphp_module modules/mod_suphp.so
suPHP_Engine on
AddHandler x-httpd-php .php .php5 .php4 .php3 .phtml
suPHP_ConfigPath /etc
suPHP_AddHandler x-httpd-php
-------------------------------------------------------------------------------------
vhost config:
--------------------------------------------------------------------------------------
<VirtualHost *:80>
DocumentRoot /var/www/web
ServerName testweb.test.dev
</VirtualHost>
--------------------------------------------------------------------------------------
Directory owners:
/var (root)
/var/www (root)
/var/www/web (test_web)
Scripts:
/var/www/web/index.php (test_web:test_web)
Any Ideas? Even running as root, it will say "Directory / is not owned by
root" which is most certainly is.
Thanks!
Henry
_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp