From: Rich Bowen
Date: Fri, 22 May 2026 19:47:23 +0000 (+0000)
Subject: Fixes a number of (admittedly rather nit-picky) style and typographical
X-Git-Tag: 2.4.68-rc1-candidate~97
X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0b081b91b50fdc2b78973158304f48c2d72d460d;p=thirdparty%2Fapache%2Fhttpd.git
Fixes a number of (admittedly rather nit-picky) style and typographical
things in the mod_deflate docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1934517 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_deflate.xml b/docs/manual/mod/mod_deflate.xml
index 07b2ca28df..e3687779af 100644
--- a/docs/manual/mod/mod_deflate.xml
+++ b/docs/manual/mod/mod_deflate.xml
@@ -82,7 +82,7 @@ SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip
If you want to restrict the compression to particular MIME types
in general, you may use the AddOutputFilterByType directive. Here is an example of
- enabling compression only for the html files of the Apache
+ enabling compression only for the html files of the Apache httpd
documentation:
@@ -118,14 +118,14 @@ SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip
</Location>
- This Example will uncompress gzip'ed output from example.com, so other
+
This example will uncompress gzip-compressed output from example.com, so other
filters can do further processing with it.
Note on Content-Length
If you evaluate the request body yourself, don't trust
@@ -159,14 +159,14 @@ SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip
The mod_deflate module sends a Vary:
Accept-Encoding HTTP response header to alert proxies that
a cached response should be sent only to clients that send the
- appropriate Accept-Encoding request header. This
+ appropriate Accept-Encoding request header. This
prevents compressed content from being sent to a client that will
not understand it.
If you use some special exclusions dependent
on, for example, the User-Agent header, you must
manually configure an addition to the Vary header
- to alert proxies of the additional restrictions. For example,
+ to alert proxies of the additional restrictions. For example,
in a typical configuration where the addition of the DEFLATE
filter depends on the User-Agent, you should add:
@@ -344,7 +344,7 @@ CustomLog "logs/deflate_log" deflate
what level of compression should be used, the higher the value,
the better the compression, but the more CPU time is required to
achieve this.
- The value must between 1 (less compression) and 9 (more compression).
+ The value must be between 1 (less compression) and 9 (more compression).
@@ -355,6 +355,7 @@ CustomLog "logs/deflate_log" deflate
None, but LimitRequestBody applies after deflation
server configvirtual host
directory.htaccess
+All
2.4.10 and later
@@ -374,6 +375,7 @@ CustomLog "logs/deflate_log" deflate
DeflateInflateRatioLimit 200
server configvirtual host
directory.htaccess
+All
2.4.10 and later
@@ -394,6 +396,7 @@ CustomLog "logs/deflate_log" deflate
DeflateInflateRatioBurst 3
server configvirtual host
directory.htaccess
+All
2.4.10 and later