From: Erik Abele Date: Sun, 18 Aug 2002 13:01:34 +0000 (+0000) Subject: Fixed some XML-issues. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a498ee14a7882e4a4221b35aaa1fe1b435badf8f;p=apache Fixed some XML-issues. Submitted by: David Shane Holden Additionally added 'virtual host' to context-details. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96434 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_deflate.html.en b/docs/manual/mod/mod_deflate.html.en index e2eb6d3ec3..64bf6e1875 100644 --- a/docs/manual/mod/mod_deflate.html.en +++ b/docs/manual/mod/mod_deflate.html.en @@ -14,16 +14,14 @@

Directives

See also

Enabling Compression

Compression is implemented by the DEFLATE - filter. The following directive + filter. The following directive will enable compression for documents in the container where it is placed:

- -

Most popular browsers can not handle compression of all content +

Most popular browsers can not handle compression of all content so you may want to set the 'gzip-only-text/html' note to 1 to only - allow html files to be compressed (see below)

-

if you set this to anything but '1' it will be ignored, so you can do - negative matches

-
+ allow html files to be compressed (see below).

+

If you set this to anything but '1' it will be ignored, so you can do + negative matches.

SetEnv gzip-only-text/html 1
SetOutputFilter DEFLATE @@ -42,7 +40,7 @@ SetOutputFilter DEFLATE
Fragment size to be compressed at one time by zlib
Syntax: DeflateBufferSize value
Default: DeflateBufferSize 8096
Context: - server config
Status: + server config, virtual host
Status: Extension
Module: mod_deflate

The DeflateBufferSize directive specifies @@ -51,18 +49,18 @@ SetOutputFilter DEFLATE


DeflateFilterNote Directive

Description: Places the compression ratio in a note for logging
Syntax: DeflateFilterNote notename
Context: - server config
Status: + server config, virtual host
Status: Extension
Module: mod_deflate

The DeflateFilterNote directive specifies that a note about compression ratios should be attached - to the request. The name of the note is the value specified for + to the request. The name of the note is the value specified for the directive.


DeflateMemLevel Directive

Description: How much memory should be used by zlib for compression
Syntax: DeflateMemLevel value
Default: DeflateMemLevel 9
Context: - server config
Status: + server config, virtual host
Status: Extension
Module: mod_deflate

The DeflateMemLevel directive specifies @@ -72,7 +70,7 @@ SetOutputFilter DEFLATE Zlib compression window sizeSyntax: DeflateWindowSize valueDefault: DeflateWindowSize 15Context: - server configStatus: + server config, virtual hostStatus: ExtensionModule: mod_deflate

The DeflateWindowSize directive specifies the diff --git a/docs/manual/mod/mod_deflate.xml b/docs/manual/mod/mod_deflate.xml index 214ccad4be..7d49fc291a 100644 --- a/docs/manual/mod/mod_deflate.xml +++ b/docs/manual/mod/mod_deflate.xml @@ -22,16 +22,14 @@

Enabling Compression

Compression is implemented by the DEFLATE - filter. The following directive + filter. The following directive will enable compression for documents in the container where it is placed:

- -

Most popular browsers can not handle compression of all content +

Most popular browsers can not handle compression of all content so you may want to set the 'gzip-only-text/html' note to 1 to only - allow html files to be compressed (see below)

-

if you set this to anything but '1' it will be ignored, so you can do - negative matches

-
+ allow html files to be compressed (see below).

+

If you set this to anything but '1' it will be ignored, so you can do + negative matches.

SetEnv gzip-only-text/html 1
SetOutputFilter DEFLATE @@ -52,12 +50,13 @@ SetOutputFilter DEFLATE DeflateFilterNote Places the compression ratio in a note for logging DeflateFilterNote notename -server config +server configvirtual host +

The DeflateFilterNote directive specifies that a note about compression ratios should be attached - to the request. The name of the note is the value specified for + to the request. The name of the note is the value specified for the directive.

@@ -67,7 +66,8 @@ SetOutputFilter DEFLATE Fragment size to be compressed at one time by zlib DeflateBufferSize value DeflateBufferSize 8096 -server config +server configvirtual host +

The DeflateBufferSize directive specifies @@ -81,7 +81,8 @@ SetOutputFilter DEFLATE Zlib compression window size DeflateWindowSize value DeflateWindowSize 15 -server config +server configvirtual host +

The DeflateWindowSize directive specifies the @@ -94,7 +95,8 @@ SetOutputFilter DEFLATE How much memory should be used by zlib for compression DeflateMemLevel value DeflateMemLevel 9 -server config +server configvirtual host +

The DeflateMemLevel directive specifies