X-Git-Url: http://git.home-dn.net/?p=manu%2Fsuphp.git;a=blobdiff_plain;f=doc%2Fsuphp.conf-example;fp=doc%2Fsuphp.conf-example;h=6ebf1e12ad097a04301a249ad3e1ddce544fe4c6;hp=0000000000000000000000000000000000000000;hb=873afb00229b8e205345b6895eaad6602d5e10f4;hpb=728a5b3f000f892e52ecea98fcc8f0c5d7275b7b diff --git a/doc/suphp.conf-example b/doc/suphp.conf-example new file mode 100644 index 0000000..6ebf1e1 --- /dev/null +++ b/doc/suphp.conf-example @@ -0,0 +1,44 @@ +[global] +;Path to logfile +logfile=/var/log/suphp/suphp.log + +;Loglevel +loglevel=info + +;User Apache is running as +webserver_user=www-data + +;Path all scripts have to be in +docroot=/var/www + +; Security options +allow_file_group_writeable=false +allow_file_others_writeable=false +allow_directory_group_writeable=false +allow_directory_others_writeable=false + +;Check wheter script is within DOCUMENT_ROOT +check_vhost_docroot=true + +;Send minor error messages to browser +errors_to_browser=false + +;PATH environment variable +env_path=/bin:/usr/bin + +;Umask to set, specify in octal notation +umask=0077 + +; Minimum UID +min_uid=100 + +; Minimum GID +min_gid=100 + + +[handlers] +;Handler for php-scripts +x-httpd-php=php:/usr/bin/php-cgi + +;Handler for CGI-scripts +x-suphp-cgi=execute:!self