dev/provisioning/modules/apache/templates/mod/suphp.conf.erb
changeset 28 b0b56e0f8c7f
equal deleted inserted replaced
27:a2342f26c9de 28:b0b56e0f8c7f
       
     1 <IfModule mod_suphp.c>
       
     2     AddType application/x-httpd-suphp .php .php3 .php4 .php5 .phtml
       
     3     suPHP_AddHandler application/x-httpd-suphp
       
     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>