summaryrefslogtreecommitdiffstats
path: root/abs/core/php/apache.conf
diff options
context:
space:
mode:
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>