diff options
Diffstat (limited to 'network/suphp/config/suphp.conf')
-rw-r--r-- | network/suphp/config/suphp.conf | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/network/suphp/config/suphp.conf b/network/suphp/config/suphp.conf new file mode 100644 index 0000000000..b973e9f97e --- /dev/null +++ b/network/suphp/config/suphp.conf @@ -0,0 +1,56 @@ +[global] +; Path to logfile +; This is set to where Apache logs reside aswell +logfile=/var/log/httpd/suphp_log + +; Loglevel +loglevel=info + +; User Apache is running as +webserver_user=apache + +; Path all scripts have to be in +; This should reflect the vhosts DocumentRoot +docroot=/var/www:${HOME}/public_html + +; Path to chroot() to before executing script +;chroot=/mychroot + +; Security options +; Note: RedHat-like systems expect 'group_writeable' privs +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 +; Provided all users are in the 'users' group 072, +; makes sure they cannot mess about eachothers files. +; Note: homedirs can have <username>:apache 0710 perms! +umask=0072 + +; Minimum UID +; The default Slackware NIS config uses this UID boundry +min_uid=500 + +; Minimum GID +; The 'users' group +min_gid=100 + +[handlers] +; Handler for php-scripts +x-httpd-php="php:/usr/bin/php-cgi" + +; Handler for CGI-scripts +; Similar in functionality to suEXEC +x-suphp-cgi="execute:!self" + |