File: suphp.conf

package info (click to toggle)
suphp 0.6.2-3
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,300 kB
  • ctags: 437
  • sloc: sh: 20,980; cpp: 2,459; ansic: 1,114; makefile: 105
file content (19 lines) | stat: -rw-r--r-- 642 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<IfModule mod_suphp.c>
	AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
	suPHP_AddHandler application/x-httpd-php

    <Directory />
        suPHP_Engine on
    </Directory>

    # By default, disable suPHP for debian packaged web applications as files
    # are owned by root and cannot be executed by suPHP because of min_uid.
    <Directory /usr/share>
        suPHP_Engine off
    </Directory>

# # Use a specific php config file (a dir which contains a php.ini file)
#	suPHP_ConfigPath /etc/php4/cgi/suphp/
# # Tells mod_suphp NOT to handle requests with the type <mime-type>.
#	suPHP_RemoveHandler <mime-type>
</IfModule>