summaryrefslogtreecommitdiffstats
path: root/suphp.conf
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-13 18:43:31 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-13 18:43:31 +0200
commit3eb5696b8ee245c48c11dd6aefbda531054a0eec (patch)
treecd7b7a8c909f6a2dd2d4978cf590032083d3b906 /suphp.conf
reorg repoHEADmaster
Diffstat (limited to 'suphp.conf')
-rw-r--r--suphp.conf49
1 files changed, 49 insertions, 0 deletions
diff --git a/suphp.conf b/suphp.conf
new file mode 100644
index 0000000..9b94246
--- /dev/null
+++ b/suphp.conf
@@ -0,0 +1,49 @@
+[global]
+;Path to logfile
+logfile=/var/log/suphp.log
+
+;Loglevel
+loglevel=info
+
+;User Apache is running as
+webserver_user=apache
+
+;Path all scripts have to be in
+docroot=/
+
+;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=true
+
+;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=500
+
+; Minimum GID
+min_gid=500
+
+; Use correct permissions for mod_userdir sites
+handle_userdir=true
+
+[handlers]
+;Handler for php-scripts
+###HANDLER###=php:###PHP-BIN###
+
+;Handler for CGI-scripts
+x-suphp-cgi=execute:!self