diff options
Diffstat (limited to 'suphp.conf')
-rw-r--r-- | suphp.conf | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/suphp.conf b/suphp.conf new file mode 100644 index 000000000000..624b379f6f19 --- /dev/null +++ b/suphp.conf @@ -0,0 +1,47 @@ +[global] +;Path to logfile +logfile=/var/log/suphp.log + +;Loglevel +loglevel=info + +;User Apache is running as +webserver_user=http + +;Path all scripts have to be in +docroot=/var/www:${HOME}/public_html:/srv/http + +;Path to chroot() to before executing script +;chroot=/mychroot + +; 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=false + +;Send minor error messages to browser +errors_to_browser=true + +;PATH environment variable +env_path=/bin:/usr/bin + +;Umask to set, specify in octal notation +umask=0077 + +; Minimum UID +min_uid=33 + +; Minimum GID +min_gid=33 + + +[handlers] +;Handler for php-scripts +application/x-httpd-php="php:/usr/bin/php-cgi" + +;Handler for CGI-scripts +application/x-suphp-cgi="execute:!self" |