summaryrefslogtreecommitdiff
path: root/apache2/conf.d/local-php4.conf
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2006-04-02 17:28:53 +0000
committerJonas Smedegaard <dr@jones.dk>2006-04-02 17:28:53 +0000
commit2856e091c5cbbc9f3e904abab19910eb62a6ba4c (patch)
tree83b5f9c9cbb76176e243721b2b9215890fbd9ba5 /apache2/conf.d/local-php4.conf
parent71f72a6b9d400cdacabd860bd18d9f1386c7c53d (diff)
Add php4 and suphp snippets.
Diffstat (limited to 'apache2/conf.d/local-php4.conf')
-rw-r--r--apache2/conf.d/local-php4.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/apache2/conf.d/local-php4.conf b/apache2/conf.d/local-php4.conf
new file mode 100644
index 0000000..37f6d9e
--- /dev/null
+++ b/apache2/conf.d/local-php4.conf
@@ -0,0 +1,6 @@
+# This file is based on /etc/apache2/mods-available/php4.conf
+# Comment out those rules to enable the functionality only per vhost.
+<IfModule mod_php4.c>
+ AddType application/x-httpd-php .php .phtml .php3
+ AddType application/x-httpd-php-source .phps
+</IfModule>