From 06b9352b87dd582156cbcc61c01157aa8f3e8e8d Mon Sep 17 00:00:00 2001 From: Rich Bowen Date: Thu, 13 Feb 2014 17:31:09 +0000 Subject: [PATCH] Remove Netscape 4.x advice. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1567982 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_deflate.html.en | 44 ++++++----------------------- docs/manual/mod/mod_deflate.xml | 41 ++++++--------------------- 2 files changed, 18 insertions(+), 67 deletions(-) diff --git a/docs/manual/mod/mod_deflate.html.en b/docs/manual/mod/mod_deflate.html.en index 062d76c35c7..d4f127e5599 100644 --- a/docs/manual/mod/mod_deflate.html.en +++ b/docs/manual/mod/mod_deflate.html.en @@ -60,41 +60,15 @@ client
top

Sample Configurations

-

This is a simple sample configuration for the impatient.

- -

Compress only a few types

- AddOutputFilterByType DEFLATE text/html text/plain text/xml -

- -

The following configuration, while resulting in more compressed content, - is also much more complicated. Do not use this unless you fully understand - all the configuration details.

- -

Compress everything except images

- <Location />
- - # Insert filter
- SetOutputFilter DEFLATE
-
- # Netscape 4.x has some problems...
- BrowserMatch ^Mozilla/4 gzip-only-text/html
-
- # Netscape 4.06-4.08 have some more problems
- BrowserMatch ^Mozilla/4\.0[678] no-gzip
-
- # MSIE masquerades as Netscape, but it is fine
- BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
- # Don't compress images
- SetEnvIfNoCase Request_URI \
- - \.(?:gif|jpe?g|png)$ no-gzip dont-vary
-
-
- # Make sure proxies don't deliver the wrong content
- Header append Vary User-Agent env=!dont-vary
-
- </Location> -

+

Compression and TLS

+

Some web applications are vulnerable to an information disclosure + attack when a TLS connection carries deflate compressed data. For more + information, review the details of the "BREACH" family of attacks.

+
+

This is a simple configuration that compresses common text-based content types.

+ +

Compress only a few types

AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
+
top
diff --git a/docs/manual/mod/mod_deflate.xml b/docs/manual/mod/mod_deflate.xml index accb795eb0f..c3f79f2981c 100644 --- a/docs/manual/mod/mod_deflate.xml +++ b/docs/manual/mod/mod_deflate.xml @@ -38,40 +38,17 @@ client Filters -- 2.47.2