]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
provide a workaround for buggy mod_setenvif
authorAndré Malo <nd@apache.org>
Sun, 2 Nov 2003 00:52:26 +0000 (00:52 +0000)
committerAndré Malo <nd@apache.org>
Sun, 2 Nov 2003 00:52:26 +0000 (00:52 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101668 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_deflate.html.en
docs/manual/mod/mod_deflate.xml

index ccb0b6c4bf6d288987932ddd43d283d5ed20fca9..d7444c700b78013eabe8c86044bf88ae5d704fbe 100644 (file)
@@ -77,7 +77,12 @@ client</td></tr>
         BrowserMatch ^Mozilla/4\.0[678] no-gzip<br />
         <br />
         # MSIE masquerades as Netscape, but it is fine<br />
-        BrowserMatch \bMSIE             !no-gzip !gzip-only-text/html<br />
+        # BrowserMatch \bMSIE             !no-gzip !gzip-only-text/html<br />
+        <br />
+        # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48<br />
+        # the above regex won't work. You can use the following<br />
+        # workaround to get the desired effect:<br />
+        BrowserMatch \bMSI[E]           !no-gzip !gzip-only-text/html<br />
         <br />
         # Don't compress images<br />
         SetEnvIfNoCase Request_URI \<br />
index be8ee101fd20540e75b0cb20d178a8ced78e3944..5e5a074b68c54944b8f7c94b5c2af897f572f938 100644 (file)
@@ -39,7 +39,12 @@ client</description>
         BrowserMatch ^Mozilla/4\.0[678] no-gzip<br />
         <br />
         # MSIE masquerades as Netscape, but it is fine<br />
-        BrowserMatch \bMSIE             !no-gzip !gzip-only-text/html<br />
+        # BrowserMatch \bMSIE             !no-gzip !gzip-only-text/html<br />
+        <br />
+        # NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48<br />
+        # the above regex won't work. You can use the following<br />
+        # workaround to get the desired effect:<br />
+        BrowserMatch \bMSI[E]           !no-gzip !gzip-only-text/html<br />
         <br />
         # Don't compress images<br />
         SetEnvIfNoCase Request_URI \<br />