Properly configure suPHP
[hcoop/zz_old/debian/hcoop-apache2-config.git] / files / mods-available / suphp.conf.hcoop
diff --git a/files/mods-available/suphp.conf.hcoop b/files/mods-available/suphp.conf.hcoop
new file mode 100644 (file)
index 0000000..f744a69
--- /dev/null
@@ -0,0 +1,17 @@
+<IfModule mod_suphp.c>
+        AddType application/x-httpd-php .php .phtml
+       AddType application/x-httpd-php5 .php5
+       AddHandler x-httpd-php .php .phtml
+        AddHandler x-httpd-php5 .php5
+       suPHP_AddHandler x-httpd-php
+       suPHP_AddHandler x-httpd-php5
+
+       <Directory /afs/hcoop.net>
+                          suPHP_Engine on
+        </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>