diff options
author | Jonas Smedegaard <dr@jones.dk> | 2002-03-16 17:27:17 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2002-03-16 17:27:17 +0000 |
commit | 2e07171c09f7b9068f020055a067755cf716c99b (patch) | |
tree | 8d63beb80b8bb6110b717d521495943bff494722 | |
parent | e4486673d5606d304c83c3d660d7e96b8aa09b47 (diff) |
Exclude (and comment out the include's) php gzip'ing - it is better handled with output_handler = ob_gzhandler (supported by php 4.0.4 and above)
-rw-r--r-- | cfengine/cf.services.web | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/cfengine/cf.services.web b/cfengine/cf.services.web index c0510e4..cc6f28d 100644 --- a/cfengine/cf.services.web +++ b/cfengine/cf.services.web @@ -192,18 +192,18 @@ editfiles: BeginGroupIfNoLineMatching '[[:blank:]]*mod_gzip_item_include mime "text/\.\*"' InsertLine ' mod_gzip_item_include mime "text/.*"' EndGroup - BeginGroupIfNoLineMatching '[[:blank:]]*mod_gzip_item_include file "\\\.php\$"' - InsertLine ' mod_gzip_item_include file "\.php$"' - EndGroup +# BeginGroupIfNoLineMatching '[[:blank:]]*mod_gzip_item_include file "\\\.php\$"' +# InsertLine ' mod_gzip_item_include file "\.php$"' +# EndGroup BeginGroupIfNoLineMatching '[[:blank:]]*mod_gzip_item_include mime "jserv-servlet"' InsertLine ' mod_gzip_item_include mime "jserv-servlet"' EndGroup BeginGroupIfNoLineMatching '[[:blank:]]*mod_gzip_item_include handler "jserv-servlet"' InsertLine ' mod_gzip_item_include handler "jserv-servlet"' EndGroup - BeginGroupIfNoLineMatching '[[:blank:]]*mod_gzip_item_include mime "application/x-httpd-php\.\*"' - InsertLine ' mod_gzip_item_include mime "application/x-httpd-php.*"' - EndGroup +# BeginGroupIfNoLineMatching '[[:blank:]]*mod_gzip_item_include mime "application/x-httpd-php\.\*"' +# InsertLine ' mod_gzip_item_include mime "application/x-httpd-php.*"' +# EndGroup BeginGroupIfNoLineMatching '[[:blank:]]*mod_gzip_item_include mime "httpd/unix-directory"' InsertLine ' mod_gzip_item_include mime "httpd/unix-directory"' EndGroup @@ -216,6 +216,12 @@ editfiles: BeginGroupIfNoLineMatching '[[:blank:]]*mod_gzip_item_exclude file "\\\.wml\$"' InsertLine ' mod_gzip_item_exclude file "\.wml$"' EndGroup + BeginGroupIfNoLineMatching '[[:blank:]]*mod_gzip_item_exclude file "\\\.php\$"' + InsertLine ' mod_gzip_item_exclude file "\.php$"' + EndGroup + BeginGroupIfNoLineMatching '[[:blank:]]*mod_gzip_item_exclude mime "application/x-httpd-php\.\*"' + InsertLine ' mod_gzip_item_exclude mime "application/x-httpd-php.*"' + EndGroup UnsetAbort "^# END CFENGINE$" EndGroup # |