summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Darlow <mail@mcgruff.plus.com>2012-07-02 01:26:30 +0100
committerNoel Darlow <mail@mcgruff.plus.com>2012-07-02 01:26:30 +0100
commit5b54caac764dd2e608ad111f819871dd2818a277 (patch)
tree1e5c4dd3b2b4c952675847394aa2ce81262ee29a /dev-lang/php/files/70_mod_php.conf-apache1
parent3 (diff)
downloadunderlay-5b54caac764dd2e608ad111f819871dd2818a277.tar.gz
underlay-5b54caac764dd2e608ad111f819871dd2818a277.tar.bz2
underlay-5b54caac764dd2e608ad111f819871dd2818a277.zip
still trying..
Diffstat (limited to 'dev-lang/php/files/70_mod_php.conf-apache1')
-rw-r--r--dev-lang/php/files/70_mod_php.conf-apache118
1 files changed, 18 insertions, 0 deletions
diff --git a/dev-lang/php/files/70_mod_php.conf-apache1 b/dev-lang/php/files/70_mod_php.conf-apache1
new file mode 100644
index 0000000..60a1fe6
--- /dev/null
+++ b/dev-lang/php/files/70_mod_php.conf-apache1
@@ -0,0 +1,18 @@
+<IfDefine PHP4>
+
+ # Load the module first
+ <IfModule !sapi_apache.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>