summarylogtreecommitdiffstats
path: root/suphp.conf
blob: 624b379f6f196ce6cc2ec8536589eae2c1a7f5c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[global]
;Path to logfile
logfile=/var/log/suphp.log

;Loglevel
loglevel=info

;User Apache is running as
webserver_user=http

;Path all scripts have to be in
docroot=/var/www:${HOME}/public_html:/srv/http

;Path to chroot() to before executing script
;chroot=/mychroot

; Security options
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=false

;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
umask=0077

; Minimum UID
min_uid=33

; Minimum GID
min_gid=33


[handlers]
;Handler for php-scripts
application/x-httpd-php="php:/usr/bin/php-cgi"

;Handler for CGI-scripts
application/x-suphp-cgi="execute:!self"