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