r9185@datura: manu | 2008-06-04 10:30:58 +0200
[manu/suphp.git] / debian / conf / suphp.conf
1 <IfModule mod_suphp.c>
2         AddType application/x-httpd-php .php .php3 .php4 .php5 .phtml
3         suPHP_AddHandler application/x-httpd-php
4
5     <Directory />
6         suPHP_Engine on
7     </Directory>
8
9     # By default, disable suPHP for debian packaged web applications as files
10     # are owned by root and cannot be executed by suPHP because of min_uid.
11     <Directory /usr/share>
12         suPHP_Engine off
13     </Directory>
14
15 # # Use a specific php config file (a dir which contains a php.ini file)
16 #       suPHP_ConfigPath /etc/php4/cgi/suphp/
17 # # Tells mod_suphp NOT to handle requests with the type <mime-type>.
18 #       suPHP_RemoveHandler <mime-type>
19 </IfModule>