summaryrefslogtreecommitdiff
path: root/packages/modphp/files/70_mod_php4.conf
diff options
context:
space:
mode:
Diffstat (limited to 'packages/modphp/files/70_mod_php4.conf')
-rw-r--r--packages/modphp/files/70_mod_php4.conf19
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/modphp/files/70_mod_php4.conf b/packages/modphp/files/70_mod_php4.conf
new file mode 100644
index 0000000000..ce680323f6
--- /dev/null
+++ b/packages/modphp/files/70_mod_php4.conf
@@ -0,0 +1,19 @@
+# vim: ft=apache sw=4 ts=4
+<IfDefine PHP4>
+
+ # Load the module first
+ <IfModule !sapi_apache2.c>
+ LoadModule php4_module modules/libphp4.so
+ </IfModule>
+
+ # Set it to handle the files
+ <IfModule mod_mime.c>
+ AddType application/x-httpd-php .php
+ AddType application/x-httpd-php .phtml
+ AddType application/x-httpd-php .php3
+ AddType application/x-httpd-php .php4
+ AddType application/x-httpd-php-source .phps
+ </IfModule>
+
+ AddDirectoryIndex index.php index.phtml
+</IfDefine>