summaryrefslogtreecommitdiffstats
path: root/abs/core/php/apache.conf
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 17:55:03 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 17:55:03 (GMT)
commit00b131694e084a6deb9caaca2d940c63b9990384 (patch)
tree08110bb4b818e23658ca7c64551d5ac83ff50ed1 /abs/core/php/apache.conf
parentff0f7cee2dc2b420e257313fef663a3f78bbc800 (diff)
downloadlinhes_pkgbuild-00b131694e084a6deb9caaca2d940c63b9990384.zip
linhes_pkgbuild-00b131694e084a6deb9caaca2d940c63b9990384.tar.gz
linhes_pkgbuild-00b131694e084a6deb9caaca2d940c63b9990384.tar.bz2
php: 5.4.5
Diffstat (limited to 'abs/core/php/apache.conf')
-rw-r--r--abs/core/php/apache.conf10
1 files changed, 7 insertions, 3 deletions
diff --git a/abs/core/php/apache.conf b/abs/core/php/apache.conf
index 86344c8..c3ca0aa 100644
--- a/abs/core/php/apache.conf
+++ b/abs/core/php/apache.conf
@@ -3,7 +3,11 @@
<IfModule dir_module>
<IfModule php5_module>
DirectoryIndex index.php index.html
- AddHandler application/x-httpd-php .php
- AddHandler application/x-httpd-php-source .phps
+ <FilesMatch "\.php$">
+ SetHandler application/x-httpd-php
+ </FilesMatch>
+ <FilesMatch "\.phps$">
+ SetHandler application/x-httpd-php-source
+ </FilesMatch>
</IfModule>
-</IfModule> \ No newline at end of file
+</IfModule>