Properly configure suPHP
[hcoop/zz_old/debian/hcoop-apache2-config.git] / files / suphp.conf.hcoop
diff --git a/files/suphp.conf.hcoop b/files/suphp.conf.hcoop
new file mode 100644 (file)
index 0000000..b459bd9
--- /dev/null
@@ -0,0 +1,50 @@
+[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=/afs/hcoop.net/*
+
+;Path to chroot() to before executing script
+;chroot=/mychroot
+
+; Security options
+; HCoop: we don't have to care about group/others, since afs ignores
+;        unix permissions
+allow_file_group_writeable=true
+allow_file_others_writeable=true
+allow_directory_group_writeable=true
+allow_directory_others_writeable=true
+
+;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"
+x-httpd-php5="php:/usr/bin/php5-cgi"
+
+;Handler for CGI-scripts
+x-suphp-cgi="execute:!self"