Import upstream 0.7.1
[manu/suphp.git] / doc / suphp.conf-example
index 6ebf1e1..0ea07fd 100644 (file)
@@ -1,15 +1,18 @@
 [global]
 ;Path to logfile
-logfile=/var/log/suphp/suphp.log
+logfile=/var/log/suphp.log
 
 ;Loglevel
 loglevel=info
 
 ;User Apache is running as
-webserver_user=www-data
+webserver_user=wwwrun
 
 ;Path all scripts have to be in
-docroot=/var/www
+docroot=/var/www:${HOME}/public_html
+
+;Path to chroot() to before executing script
+;chroot=/mychroot
 
 ; Security options
 allow_file_group_writeable=false
@@ -38,7 +41,7 @@ min_gid=100
 
 [handlers]
 ;Handler for php-scripts
-x-httpd-php=php:/usr/bin/php-cgi
+x-httpd-php="php:/usr/bin/php"
 
 ;Handler for CGI-scripts
-x-suphp-cgi=execute:!self
+x-suphp-cgi="execute:!self"