| 1 | [global] |
| 2 | ;Path to logfile |
| 3 | logfile=/var/log/suphp.log |
| 4 | |
| 5 | ;Loglevel |
| 6 | loglevel=info |
| 7 | |
| 8 | ;User Apache is running as |
| 9 | webserver_user=wwwrun |
| 10 | |
| 11 | ;Path all scripts have to be in |
| 12 | docroot=/var/www:${HOME}/public_html |
| 13 | |
| 14 | ;Path to chroot() to before executing script |
| 15 | ;chroot=/mychroot |
| 16 | |
| 17 | ; Security options |
| 18 | allow_file_group_writeable=false |
| 19 | allow_file_others_writeable=false |
| 20 | allow_directory_group_writeable=false |
| 21 | allow_directory_others_writeable=false |
| 22 | |
| 23 | ;Check wheter script is within DOCUMENT_ROOT |
| 24 | check_vhost_docroot=true |
| 25 | |
| 26 | ;Send minor error messages to browser |
| 27 | errors_to_browser=false |
| 28 | |
| 29 | ;PATH environment variable |
| 30 | env_path=/bin:/usr/bin |
| 31 | |
| 32 | ;Umask to set, specify in octal notation |
| 33 | umask=0077 |
| 34 | |
| 35 | ; Minimum UID |
| 36 | min_uid=100 |
| 37 | |
| 38 | ; Minimum GID |
| 39 | min_gid=100 |
| 40 | |
| 41 | |
| 42 | [handlers] |
| 43 | ;Handler for php-scripts |
| 44 | x-httpd-php="php:/usr/bin/php" |
| 45 | |
| 46 | ;Handler for CGI-scripts |
| 47 | x-suphp-cgi="execute:!self" |