diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-10-19 20:32:50 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-10-19 20:32:50 +0000 |
commit | 7b0015ed4a69deb8e7c204c37e7cce7e8d69ef73 (patch) | |
tree | cec01d27269186d9db33085b4a03821b8787693e | |
parent | f62e5cae5b8cce0f27635c66ad091ba6bc24a8f9 (diff) |
cfengine: Add web php line to say 'AddType application/x-httpd-php .phtml .php .inc .php3'.
-rw-r--r-- | cfengine/cf.services.web | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cfengine/cf.services.web b/cfengine/cf.services.web index c67f141..7392235 100644 --- a/cfengine/cf.services.web +++ b/cfengine/cf.services.web @@ -88,7 +88,7 @@ editfiles: # <IfModule libphp4.c> # php_flag display_errors off # php_flag log_errors on - # AddType application/x-httpd-php .php + # AddType application/x-httpd-php .phtml .php .inc .php3 # AddType application/x-httpd-php-source .phps # </IfModule> # @@ -113,8 +113,8 @@ editfiles: BeginGroupIfNoLineMatching ".*php_flag log_errors on" InsertLine " php_flag log_errors on" EndGroup - BeginGroupIfNoLineMatching "[[:blank:]]*AddType application/x-httpd-php .php" - InsertLine " AddType application/x-httpd-php .php" + BeginGroupIfNoLineMatching "[[:blank:]]*AddType application/x-httpd-php .phtml .php .inc .php3" + InsertLine " AddType application/x-httpd-php .phtml .php .inc .php3" EndGroup BeginGroupIfNoLineMatching "[[:blank:]]*AddType application/x-httpd-source .phps" InsertLine " AddType application/x-httpd-source .phps" |