summaryrefslogtreecommitdiff
path: root/staging/php/apache.conf
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-20 23:14:50 +0000
committerroot <root@rshg054.dnsready.net>2011-11-20 23:14:50 +0000
commit70b4878648fd376433739bd5c835503f6301a5b2 (patch)
treec74d46f8e06305505e381202251b6f71ca33c3e7 /staging/php/apache.conf
parenta3024f8996981b28ced27466cbd1d4ab40e57324 (diff)
Sun Nov 20 23:14:50 UTC 2011
Diffstat (limited to 'staging/php/apache.conf')
-rw-r--r--staging/php/apache.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/staging/php/apache.conf b/staging/php/apache.conf
new file mode 100644
index 000000000..c3ca0aad5
--- /dev/null
+++ b/staging/php/apache.conf
@@ -0,0 +1,13 @@
+# Required modules: dir_module, php5_module
+
+<IfModule dir_module>
+ <IfModule php5_module>
+ DirectoryIndex index.php index.html
+ <FilesMatch "\.php$">
+ SetHandler application/x-httpd-php
+ </FilesMatch>
+ <FilesMatch "\.phps$">
+ SetHandler application/x-httpd-php-source
+ </FilesMatch>
+ </IfModule>
+</IfModule>