hi,
I have seen various threads and links to get mod_suphp working. But I cant get it done. I need it only for one subdomain only.
The Plesk version is 9.5.2 and Ive got this rpm package installed: mod_suphp-0.6.3-1.fc8
These are the config files.
cat /etc/httpd/conf.d/mod_suphp.conf
cat /etc/suphp.conf
cat httpd.include, this is only the subdomain part. The domain part is untouched.
anyone got an idea what I'm missing here?
thanks, Patrick
I have seen various threads and links to get mod_suphp working. But I cant get it done. I need it only for one subdomain only.
The Plesk version is 9.5.2 and Ive got this rpm package installed: mod_suphp-0.6.3-1.fc8
These are the config files.
cat /etc/httpd/conf.d/mod_suphp.conf
LoadModule suphp_module modules/mod_suphp.so
cat /etc/suphp.conf
[global]
logfile=/var/log/suphp.log
loglevel=warn
webserver_user=apache
docroot=/var/www/vhosts:${ HOME}/httpdocs
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=0022
min_uid=500
min_gid=500
handle_userdir=true
[handlers]
php5-script=php:/usr/bin/php-cgi
x-suphp-cgi=execute:!self
cat httpd.include, this is only the subdomain part. The domain part is untouched.
<VirtualHost x.x.x.x:80>
ServerName www2.domain.com:80
ServerAdmin "[email protected]"
DocumentRoot /var/www/vhosts/domain.com/subdomains/www2/httpdocs
CustomLog /var/www/vhosts/domain.com/statistics/logs/access_log plesklog
ErrorLog /var/www/vhosts/domain.com/statistics/logs/error_log
<IfModule mod_ssl.c>
SSLEngine off
</IfModule>
<Directory /var/www/vhosts/domain.com/subdomains/www2/httpdocs>
<IfModule mod_suphp.c>
php_admin_flag engine off
suPHP_Engine on
AddHandler x-httpd-php .php .php5
#suPHP_UserGroup apache apache
suPHP_AddHandler x-httpd-php
suPHP_ConfigPath "/var/www/vhosts/domain.com/subdomains/www2/etc"
</IfModule>
Options -Includes -ExecCGI
</Directory>
Alias "/error_docs" "/var/www/vhosts/domain.com/error_docs"
ErrorDocument 400 /error_docs/bad_request.html
ErrorDocument 401 /error_docs/unauthorized.html
ErrorDocument 403 /error_docs/forbidden.html
ErrorDocument 404 /error_docs/not_found.html
ErrorDocument 500 /error_docs/internal_server_error.html
ErrorDocument 405 /error_docs/method_not_allowed.html
ErrorDocument 406 /error_docs/not_acceptable.html
ErrorDocument 407 /error_docs/proxy_authentication_required.html
ErrorDocument 412 /error_docs/precondition_failed.html
ErrorDocument 415 /error_docs/unsupported_media_type.html
ErrorDocument 501 /error_docs/not_implemented.html
ErrorDocument 502 /error_docs/bad_gateway.html
</VirtualHost>
anyone got an idea what I'm missing here?
thanks, Patrick