]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
providea workaround for buggy mod_setenvif
authorAndré Malo <nd@apache.org>
Sun, 2 Nov 2003 00:55:14 +0000 (00:55 +0000)
committerAndré Malo <nd@apache.org>
Sun, 2 Nov 2003 00:55:14 +0000 (00:55 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/APACHE_2_0_BRANCH@101669 13f79535-47bb-0310-9956-ffa450edef68

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

index 220a28540a25d9a3bd047f9837ba768d9a9a453d..8cf9c25b87f8bae0ae2941c1820a25120536f457 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 />