Commit 00a68192 authored by Christophe Jaillet's avatar Christophe Jaillet
Browse files

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.

(r1853637 in trunk)

+ remove some trailing spaces
+ improve an example to have it more simple (r1816989 in trunk)
 to synch with  trunk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1853640 13f79535-47bb-0310-9956-ffa450edef68
parent 29adbcbf
Loading
Loading
Loading
Loading
+28 −35
Original line number Diff line number Diff line
@@ -197,17 +197,11 @@ content</title>

    <highlight language="config">
&lt;IfModule mod_headers.c&gt;
    # Serve gzip compressed CSS files if they exist 
    # Serve gzip compressed CSS and JS files if they exist
    # and the client accepts gzip.
    RewriteCond "%{HTTP:Accept-encoding}" "gzip"
    RewriteCond "%{REQUEST_FILENAME}\.gz" -s
    RewriteRule "^(.*)\.css" "$1\.css\.gz" [QSA]

    # Serve gzip compressed JS files if they exist 
    # and the client accepts gzip.
    RewriteCond "%{HTTP:Accept-encoding}" "gzip"
    RewriteCond "%{REQUEST_FILENAME}\.gz" -s
    RewriteRule "^(.*)\.js" "$1\.js\.gz" [QSA]
    RewriteRule "^(.*)\.(css|js)" "$1\.$2\.gz" [QSA]


    # Serve correct content types, and prevent mod_deflate double gzip.
@@ -376,7 +370,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>
<compatibility>2.4.10 and later</compatibility>
@@ -386,8 +380,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>

@@ -396,7 +390,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>
<compatibility>2.4.10 and later</compatibility>
@@ -404,10 +398,9 @@ 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>

</modulesynopsis>