diff options
author | root <root@rshg047.dnsready.net> | 2011-04-21 04:17:42 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-21 04:17:42 +0000 |
commit | fa4eccdc5034e6953e9b9381570ada0fb3ee983d (patch) | |
tree | 0e36297a392905958bf9ad80e8893b4e72ec2fb0 /extra/php/apache.conf | |
parent | 862a468489b5081755f9086204a012c7cd3beb3e (diff) |
Thu Apr 21 04:17:42 UTC 2011
Diffstat (limited to 'extra/php/apache.conf')
-rw-r--r-- | extra/php/apache.conf | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/extra/php/apache.conf b/extra/php/apache.conf index 86344c803..c3ca0aad5 100644 --- a/extra/php/apache.conf +++ b/extra/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> |