From 303bbad00d80fb8f2477cfd4e9535a83d7f4c1a2 Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Wed, 11 Jul 2012 14:12:15 +0200 Subject: Use AddType (not FilesMatch) to avoid access denied error. --- apache2/conf.d/local-php.conf | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'apache2/conf.d/local-php.conf') diff --git a/apache2/conf.d/local-php.conf b/apache2/conf.d/local-php.conf index fc6e91f..3763394 100644 --- a/apache2/conf.d/local-php.conf +++ b/apache2/conf.d/local-php.conf @@ -1,11 +1,7 @@ # requires: php5 - - SetHandler application/x-httpd-php - - - SetHandler application/x-httpd-php-source - +AddType application/x-httpd-php .php .php3 .phtml +AddType application/x-httpd-php-source .phps # To re-enable php in user directories comment the following lines # (from to .) Do NOT set it to On as it # prevents .htaccess files from disabling it. -- cgit v1.2.3