diff options
author | Christophe Jaillet <jailletc36@apache.org> | 2019-02-15 12:36:44 +0100 |
---|---|---|
committer | Christophe Jaillet <jailletc36@apache.org> | 2019-02-15 12:36:44 +0100 |
commit | 53131944fcaf93beb690ececc4d5245e6166ce55 (patch) | |
tree | 7a9cc92799312f4ac38a8b13304359155ecfeed3 /docs/manual/mod/mod_deflate.xml | |
parent | * modules/md/mod_md_config.c (md_mod_conf_get): Use state-dir-relative (diff) | |
download | apache2-53131944fcaf93beb690ececc4d5245e6166ce55.tar.xz apache2-53131944fcaf93beb690ececc4d5245e6166ce55.zip |
Add directive name, so that quickreference.xsl can extract default value correctly.
Always align on the left code in <highlight> block in order to be consistent and fix a layout issue.
Add some links between directives.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1853637 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_deflate.xml')
-rw-r--r-- | docs/manual/mod/mod_deflate.xml | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/docs/manual/mod/mod_deflate.xml b/docs/manual/mod/mod_deflate.xml index 361a7258fe..5fe6e2b1e6 100644 --- a/docs/manual/mod/mod_deflate.xml +++ b/docs/manual/mod/mod_deflate.xml @@ -55,8 +55,8 @@ client</description> <example><title>Compress only a few types</title> <highlight language="config"> - AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript - </highlight> +AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript + </highlight> </example> </section> @@ -171,7 +171,7 @@ SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip filter depends on the <code>User-Agent</code>, you should add:</p> <highlight language="config"> - Header append Vary User-Agent +Header append Vary User-Agent </highlight> <p>If your decision about compression depends on other information @@ -181,8 +181,8 @@ SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip <example><title>Example</title> <highlight language="config"> - Header set Vary * - </highlight> +Header set Vary * + </highlight> </example> </section> @@ -238,11 +238,11 @@ content</title> <example><title>Example</title> <highlight language="config"> - DeflateFilterNote ratio +DeflateFilterNote ratio - LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate - CustomLog "logs/deflate_log" deflate - </highlight> +LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' deflate +CustomLog "logs/deflate_log" deflate + </highlight> </example> <p>If you want to extract more accurate values from your logs, you @@ -400,7 +400,7 @@ CustomLog "logs/deflate_log" deflate <name>DeflateInflateRatioLimit</name> <description>Maximum inflation ratio for request bodies</description> <syntax>DeflateInflateRatioLimit <var>value</var></syntax> -<default>200</default> +<default>DeflateInflateRatioLimit 200</default> <contextlist><context>server config</context><context>virtual host</context> <context>directory</context><context>.htaccess</context></contextlist> <override>All</override> @@ -411,8 +411,8 @@ CustomLog "logs/deflate_log" deflate specifies the maximum ratio of deflated to inflated size of an inflated request body. This ratio is checked as the body is streamed in, and if crossed more than - <directive>DeflateInflateRatioBurst</directive> times, the request - will be terminated.</p> + <directive module="mod_deflate">DeflateInflateRatioBurst</directive> + times, the request will be terminated.</p> </usage> </directivesynopsis> @@ -421,7 +421,7 @@ CustomLog "logs/deflate_log" deflate <description>Maximum number of times the inflation ratio for request bodies can be crossed</description> <syntax>DeflateInflateRatioBurst <var>value</var></syntax> -<default>3</default> +<default>DeflateInflateRatioBurst 3</default> <contextlist><context>server config</context><context>virtual host</context> <context>directory</context><context>.htaccess</context></contextlist> <override>All</override> @@ -430,8 +430,8 @@ CustomLog "logs/deflate_log" deflate <usage> <p>The <directive>DeflateInflateRatioBurst</directive> directive specifies the maximum number of times the - <directive>DeflateInflateRatioLimit</directive> can be crossed before - terminating the request.</p> + <directive module="mod_deflate">DeflateInflateRatioLimit</directive> can + be crossed before terminating the request.</p> </usage> </directivesynopsis> |