summaryrefslogtreecommitdiff
path: root/apache2/conf.d/local-suphp.conf
diff options
context:
space:
mode:
Diffstat (limited to 'apache2/conf.d/local-suphp.conf')
-rw-r--r--apache2/conf.d/local-suphp.conf11
1 files changed, 11 insertions, 0 deletions
diff --git a/apache2/conf.d/local-suphp.conf b/apache2/conf.d/local-suphp.conf
new file mode 100644
index 0000000..a249342
--- /dev/null
+++ b/apache2/conf.d/local-suphp.conf
@@ -0,0 +1,11 @@
+# This file is based on /etc/apache2/mods-available/suphp.conf
+# Comment out those rules to enable the functionality only per vhost.
+<IfModule mod_suphp.c>
+ AddHandler x-httpd-php .php .php3 .php4 .php5 .phtml
+ suPHP_AddHandler x-httpd-php
+ suPHP_Engine on
+# # 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>