aboutsummaryrefslogtreecommitdiff
path: root/network/suphp/suphp.conf
diff options
context:
space:
mode:
authorMenno Duursma <druiloor@zonnet.nl>2010-05-11 15:01:36 +0200
committerMichiel van Wessem <michiel@slackbuilds.org>2010-05-11 15:01:36 +0200
commit950dbcc826ae0cf24cca4dff16f23614b790b90b (patch)
treef6730cd1234678f23faaf446038bcd9a2b62f22d /network/suphp/suphp.conf
parent19a247802d7c1909a4757ae952ea31255f6a11b3 (diff)
network/suphp: Initial import
Diffstat (limited to 'network/suphp/suphp.conf')
-rw-r--r--network/suphp/suphp.conf46
1 files changed, 46 insertions, 0 deletions
diff --git a/network/suphp/suphp.conf b/network/suphp/suphp.conf
new file mode 100644
index 0000000000000..39bc18936b052
--- /dev/null
+++ b/network/suphp/suphp.conf
@@ -0,0 +1,46 @@
+[global]
+;Path to logfile
+logfile=/var/log/apache/suphp_log
+
+;Loglevel
+loglevel=info
+
+;User Apache is running as
+webserver_user=nobody
+
+;Path all scripts have to be in
+docroot=/var/www
+
+;Path to chroot() to before executing script
+;chroot=/mychroot
+
+; Security options
+allow_file_group_writeable=true
+allow_file_others_writeable=false
+allow_directory_group_writeable=true
+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:/usr/local/bin
+
+;Umask to set, specify in octal notation
+umask=0077
+
+; Minimum UID
+min_uid=500
+
+; 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