Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 71B2E200C79 for ; Thu, 13 Apr 2017 14:26:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 707B3160BA7; Thu, 13 Apr 2017 12:26:48 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 03459160BB3 for ; Thu, 13 Apr 2017 14:26:45 +0200 (CEST) Received: (qmail 94005 invoked by uid 500); 13 Apr 2017 12:26:42 -0000 Mailing-List: contact cvs-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list cvs@httpd.apache.org Received: (qmail 93410 invoked by uid 99); 13 Apr 2017 12:26:42 -0000 Received: from Unknown (HELO svn01-us-west.apache.org) (209.188.14.144) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Apr 2017 12:26:42 +0000 Received: from svn01-us-west.apache.org (localhost [127.0.0.1]) by svn01-us-west.apache.org (ASF Mail Server at svn01-us-west.apache.org) with ESMTP id 8893A3A516E for ; Thu, 13 Apr 2017 12:26:40 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: svn commit: r1791237 [11/20] - in /httpd/httpd/branches/2.4.x/docs/manual: ./ howto/ mod/ platform/ Date: Thu, 13 Apr 2017 12:26:39 -0000 To: cvs@httpd.apache.org From: jim@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20170413122640.8893A3A516E@svn01-us-west.apache.org> archived-at: Thu, 13 Apr 2017 12:26:48 -0000 Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/index.html.ko.euc-kr URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/index.html.ko.euc-kr?rev=1791237&r1=1791236&r2=1791237&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/docs/manual/mod/index.html.ko.euc-kr [euc-kr] (original) +++ httpd/httpd/branches/2.4.x/docs/manual/mod/index.html.ko.euc-kr [euc-kr] Thu Apr 13 12:26:37 2017 @@ -101,7 +101,9 @@ address)
mod_authz_user
사용자 권한부여
mod_autoindex
자동으로 유닉스의 ls 명령어나 Win32의 dir 쉘명령어와 유사한 디렉토리 목록을 만든다
-
mod_buffer
Support for request buffering
+
mod_brotli
Compress content via Brotli before it is delivered to the +client
+
mod_buffer
Support for request buffering
mod_cache
URI를 키로 사용하여 내용을 캐쉬한다.
mod_cache_disk
Content cache storage manager keyed to URIs
mod_cache_socache
Shared object cache (socache) based storage module for the Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/index.html.tr.utf8 URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/index.html.tr.utf8?rev=1791237&r1=1791236&r2=1791237&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/docs/manual/mod/index.html.tr.utf8 [utf-8] (original) +++ httpd/httpd/branches/2.4.x/docs/manual/mod/index.html.tr.utf8 [utf-8] Thu Apr 13 12:26:37 2017 @@ -100,7 +100,9 @@ address)
mod_authz_user
User Authorization
mod_autoindex
Unix ls veya Win32 dir kabuk komutunun yaptığı gibi dizin içeriğini listeler.
-
mod_buffer
Support for request buffering
+
mod_brotli
Compress content via Brotli before it is delivered to the +client
+
mod_buffer
Support for request buffering
mod_cache
RFC 2616 compliant HTTP caching filter.
mod_cache_disk
Disk based storage module for the HTTP caching filter.
mod_cache_socache
Shared object cache (socache) based storage module for the Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/index.html.zh-cn.utf8 URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/index.html.zh-cn.utf8?rev=1791237&r1=1791236&r2=1791237&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/docs/manual/mod/index.html.zh-cn.utf8 (original) +++ httpd/httpd/branches/2.4.x/docs/manual/mod/index.html.zh-cn.utf8 Thu Apr 13 12:26:37 2017 @@ -100,7 +100,9 @@ address)
mod_autoindex
Generates directory indexes, automatically, similar to the Unix ls command or the Win32 dir shell command
-
mod_buffer
Support for request buffering
+
mod_brotli
Compress content via Brotli before it is delivered to the +client
+
mod_buffer
Support for request buffering
mod_cache
RFC 2616 compliant HTTP caching filter.
mod_cache_disk
Disk based storage module for the HTTP caching filter.
mod_cache_socache
Shared object cache (socache) based storage module for the Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_autoindex.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_autoindex.html.en?rev=1791237&r1=1791236&r2=1791237&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_autoindex.html.en (original) +++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_autoindex.html.en Thu Apr 13 12:26:37 2017 @@ -856,6 +856,14 @@ indexing
+
UseOldDateFormat + (Apache HTTP Server 2.4.26 and later)
+ +
The date format used for the Last Modified field was + inadvertently changed to "%Y-%m-%d %H:%M" from + "%d-%b-%Y %H:%M" in 2.4.0. Setting this option + restores the date format from 2.2 and earlier.
+
VersionSort (Apache HTTP Server 2.0a3 and later)
Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_autoindex.html.tr.utf8 URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_autoindex.html.tr.utf8?rev=1791237&r1=1791236&r2=1791237&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_autoindex.html.tr.utf8 [utf-8] (original) +++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_autoindex.html.tr.utf8 [utf-8] Thu Apr 13 12:26:37 2017 @@ -32,6 +32,7 @@  ko  |  tr 

+
Bu çeviri güncel olmayabilir. Son değişiklikler için İngilizce sürüm geçerlidir.
Added: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_brotli.html URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_brotli.html?rev=1791237&view=auto ============================================================================== --- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_brotli.html (added) +++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_brotli.html Thu Apr 13 12:26:37 2017 @@ -0,0 +1,5 @@ +# GENERATED FROM XML -- DO NOT EDIT + +URI: mod_brotli.html.en +Content-Language: en +Content-type: text/html; charset=ISO-8859-1 Added: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_brotli.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_brotli.html.en?rev=1791237&view=auto ============================================================================== --- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_brotli.html.en (added) +++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_brotli.html.en Thu Apr 13 12:26:37 2017 @@ -0,0 +1,347 @@ + + + + + +mod_brotli - Apache HTTP Server Version 2.4 + + + + + + + + +
<-
+ +
+

Apache Module mod_brotli

+
+

Available Languages:  en 

+
+
Açıklama:Unix ls veya Win32 dir kabuk komutunun yaptığı gibi dizin içeriğini listeler.
Durum:Temel
+ + + +
Description:Compress content via Brotli before it is delivered to the +client
Status:Extension
Module Identifier:brotli_module
Source File:mod_brotli.c
Compatibility:Available in version 2.4.26 and later.
+

Summary

+ +

The mod_brotli module provides + the BROTLI_COMPRESS output filter that allows output from + your server to be compressed using the brotli compression format before being sent to the client over + the network. This module uses the Brotli library found at + https://github.com/google/brotli.

+ + +
top
+
+

Sample Configurations

+

Compression and TLS

+

Some web applications are vulnerable to an information disclosure + attack when a TLS connection carries 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 BROTLI_COMPRESS text/html text/plain text/xml text/css text/javascript application/javascript
+
+ +
top
+
+

Enabling Compression

+

Compression and TLS

+

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

+
+ +

Output Compression

+

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

+ +
SetOutputFilter BROTLI_COMPRESS
+SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-brotli
+ + +

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 + documentation:

+ +
<Directory "/your-server-root/manual">
+    AddOutputFilterByType BROTLI_COMPRESS text/html
+</Directory>
+ + +

Note

+ The BROTLI_COMPRESS filter is always inserted after RESOURCE + filters like PHP or SSI. It never touches internal subrequests. +
+

Note

+ There is an environment variable no-brotli, + set via SetEnv, which + will disable brotli compression for a particular request, even if + it is supported by the client. +
+ + + +
top
+
+

Dealing with proxy servers

+ +

The mod_brotli 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 + 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, + in a typical configuration where the addition of the BROTLI_COMPRESS + filter depends on the User-Agent, you should add:

+ +
Header append Vary User-Agent
+ + +

If your decision about compression depends on other information + than request headers (e.g. HTTP version), you have to set the + Vary header to the value *. This prevents + compliant proxies from caching entirely.

+ +

Example

Header set Vary *
+
+
top
+
+

Serving pre-compressed +content

+ +

Since mod_brotli re-compresses content each + time a request is made, some performance benefit can be derived by + pre-compressing the content and telling mod_brotli to serve them + without re-compressing them. This may be accomplished using a + configuration like the following:

+ +
<IfModule mod_headers.c>
+    # Serve brotli compressed CSS files if they exist
+    # and the client accepts brotli.
+    RewriteCond "%{HTTP:Accept-encoding}" "br"
+    RewriteCond "%{REQUEST_FILENAME}\.br" "-s"
+    RewriteRule "^(.*)\.css"              "$1\.css\.br" [QSA]
+
+    # Serve brotli compressed JS files if they exist
+    # and the client accepts brotli.
+    RewriteCond "%{HTTP:Accept-encoding}" "br"
+    RewriteCond "%{REQUEST_FILENAME}\.br" "-s"
+    RewriteRule "^(.*)\.js"               "$1\.js\.br" [QSA]
+
+
+    # Serve correct content types, and prevent double compression.
+    RewriteRule "\.css\.br$" "-" [T=text/css,E=no-brotli:1]
+    RewriteRule "\.js\.br$"  "-" [T=text/javascript,E=no-brotli:1]
+
+
+    <FilesMatch "(\.js\.br|\.css\.br)$">
+      # Serve correct encoding type.
+      Header append Content-Encoding br
+
+      # Force proxies to cache brotli &
+      # non-brotli css/js files separately.
+      Header append Vary Accept-Encoding
+    </FilesMatch>
+</IfModule>
+ + +
+
top
+

BrotliAlterETag Directive

+ + + + + + + +
Description:How the outgoing ETag header should be modified during compression
Syntax:BrotliAlterETag AddSuffix|NoChange|Remove
Default:BrotliAlterETag AddSuffix
Context:server config, virtual host
Status:Extension
Module:mod_brotli
+

The BrotliAlterETag directive specifies + how the ETag hader should be altered when a response is compressed.

+
+
AddSuffix
+

Append the compression method onto the end of the ETag, causing + compressed and uncompressed representations to have unique ETags. + In another dynamic compression module, mod_deflate, this has been + the default since 2.4.0. This setting prevents serving "HTTP Not + Modified" (304) responses to conditional requests for compressed + content.

+
NoChange
+

Don't change the ETag on a compressed response. In another dynamic + compression module, mod_deflate, this has been the default prior to + 2.4.0. This setting does not satisfy the HTTP/1.1 property that all + representations of the same resource have unique ETags.

+
Remove
+

Remove the ETag header from compressed responses. This prevents + some conditional requests from being possible, but avoids the + shortcomings of the preceding options.

+
+ +
+
top
+

BrotliCompressionMaxInputBlock Directive

+ + + + + + + +
Description:Maximum input block size
Syntax:BrotliCompressionMaxInputBlock value
Default:(automatic)
Context:server config, virtual host
Status:Extension
Module:mod_brotli
+

The BrotliCompressionMaxInputBlock directive specifies + the maximum input block size between 16 and 24, with the caveat that + larger block sizes require more memory.

+ +
+
top
+

BrotliCompressionQuality Directive

+ + + + + + + +
Description:Compression quality
Syntax:BrotliCompressionQuality value
Default:BrotliCompressionQuality 5
Context:server config, virtual host
Status:Extension
Module:mod_brotli
+

The BrotliCompressionQuality directive specifies + the compression quality (a value between 0 and 11). Higher quality values + result in better, but also slower compression. +

+ +
+
top
+

BrotliCompressionWindow Directive

+ + + + + + + +
Description:Brotli sliding compression window size
Syntax:BrotliCompressionWindow value
Default:BrotliCompressionWindow 18
Context:server config, virtual host
Status:Extension
Module:mod_brotli
+

The BrotliCompressionWindow directive specifies the + brotli sliding compression window size (a value between 10 and 24). Larger + window sizes can improve compression quality, but require more memory.

+ +
+
top
+

BrotliFilterNote Directive

+ + + + + + +
Description:Places the compression ratio in a note for logging
Syntax:BrotliFilterNote [type] notename
Context:server config, virtual host
Status:Extension
Module:mod_brotli
+

The BrotliFilterNote directive + specifies that a note about compression ratios should be attached + to the request. The name of the note is the value specified for + the directive. You can use that note for statistical purposes by + adding the value to your access log.

+ +

Example

BrotliFilterNote ratio
+
+LogFormat '"%r" %b (%{ratio}n) "%{User-agent}i"' brotli
+CustomLog "logs/brotli_log" brotli
+
+ +

If you want to extract more accurate values from your logs, you + can use the type argument to specify the type of data + left as a note for logging. type can be one of:

+ +
+
Input
+
Store the byte count of the filter's input stream in the note.
+ +
Output
+
Store the byte count of the filter's output stream in the note.
+ +
Ratio
+
Store the compression ratio (output/input * 100) + in the note. This is the default, if the type argument + is omitted.
+
+ +

Thus you may log it this way:

+ +

Accurate Logging

BrotliFilterNote Input instream
+BrotliFilterNote Output outstream
+BrotliFilterNote Ratio ratio
+
+LogFormat '"%r" %{outstream}n/%{instream}n (%{ratio}n%%)' brotli
+CustomLog "logs/brotli_log" brotli
+
+ +

See also

+ +
+ +
+

Available Languages:  en 

+
top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.
+
+ \ No newline at end of file Added: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_brotli.xml.meta URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_brotli.xml.meta?rev=1791237&view=auto ============================================================================== --- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_brotli.xml.meta (added) +++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_brotli.xml.meta Thu Apr 13 12:26:37 2017 @@ -0,0 +1,12 @@ + + + + + mod_brotli + /mod/ + .. + + + en + + Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_http2.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_http2.html.en?rev=1791237&r1=1791236&r2=1791237&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_http2.html.en (original) +++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_http2.html.en Thu Apr 13 12:26:37 2017 @@ -95,7 +95,6 @@
  • H2PushPriority
  • H2PushResource
  • H2SerializeHeaders
  • -
  • H2SessionExtraFiles
  • H2StreamMaxMemSize
  • H2TLSCoolDownSecs
  • H2TLSWarmUpSize
  • @@ -167,17 +166,6 @@ the connection will buffer this amount of data and then suspend the H2Worker.

    -

    - If you serve a lot of static files, H2SessionExtraFiles - is of interest. This tells the server how many file handles per - HTTP/2 connection it is allowed to waste for better performance. Because - when a request produces a static file as the response, the file handle - gets passed around and is buffered and not the file contents. That allows - to serve many large files without wasting memory or copying data - unnecessarily. However file handles are a limited resource for a process, - and if too many are used this way, requests may fail under load as - the amount of open handles has been exceeded. -

    Multiple Hosts and Misdirected Requests

    @@ -724,41 +712,6 @@ H2PushPriority text/css interleaved
    top
    -

    H2SessionExtraFiles Directive

    - - - - - - -
    Description:Number of Extra File Handles
    Syntax:H2SessionExtraFiles n
    Context:server config, virtual host
    Status:Extension
    Module:mod_http2
    -

    - This directive sets maximum number of extra file handles - a HTTP/2 session is allowed to use. A file handle is counted as - extra when it is transferred from a h2 worker thread to - the main HTTP/2 connection handling. This commonly happens when - serving static files. -

    - Depending on the processing model configured on the server, the - number of connections times number of active streams may exceed - the number of file handles for the process. On the other hand, - converting every file into memory bytes early results in too - many buffer writes. This option helps to mitigate that. -

    - The number of file handles used by a server process is then in - the order of: -

    -
    (h2_connections * extra_files) + (h2_max_worker)
    -

    Example

    H2SessionExtraFiles 10
    -
    -

    - If nothing is configured, the module tries to make a conservative - guess how many files are safe to use. This depends largely on the - MPM chosen. -

    - -
    -
    top

    H2StreamMaxMemSize Directive

    Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ssl.html.en URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ssl.html.en?rev=1791237&r1=1791236&r2=1791237&view=diff ============================================================================== --- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ssl.html.en (original) +++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_ssl.html.en Thu Apr 13 12:26:37 2017 @@ -73,8 +73,10 @@ to provide the cryptography engine.

  • SSLInsecureRenegotiation
  • SSLOCSPDefaultResponder
  • SSLOCSPEnable
  • +
  • SSLOCSPNoverify
  • SSLOCSPOverrideResponder
  • SSLOCSPProxyURL
  • +
  • SSLOCSPResponderCertificateFile
  • SSLOCSPResponderTimeout
  • SSLOCSPResponseMaxAge
  • SSLOCSPResponseTimeSkew
  • @@ -1094,6 +1096,21 @@ SSLOCSPOverrideResponder on
    top
    +
    Description:Maximum amount of output data buffered per stream.
    + + + + + + + +
    Description:skip the OCSP responder certificates verification
    Syntax:SSLOCSPNoverify On/Off
    Default:SSLOCSPNoverify Off
    Context:server config, virtual host
    Status:Extension
    Module:mod_ssl
    Compatibility:Available in httpd 2.5 and later, if using OpenSSL 0.9.7 or later
    +

    Skip the OCSP responder certificates verification, mostly useful when +testing an OCSP server.

    + +
    +
    top

    SSLOCSPOverrideResponder Directive

    @@ -1123,6 +1140,23 @@ all queries to OCSP responders.

    top
    +
    Description:Force use of the default responder URI for OCSP validation
    + + + + + + +
    Description:Set of trusted PEM encoded OCSP responder certificates
    Syntax:SSLOCSPResponderCertificateFile file
    Context:server config, virtual host
    Status:Extension
    Module:mod_ssl
    Compatibility:Available in httpd 2.5 and later, if using OpenSSL 0.9.7 or later
    +

    This supplies a list of trusted OCSP responder certificates to be used +during OCSP responder certificate validation. The supplied certificates are +implicitly trusted without any further validation. This is typically used +where the OCSP responder certificate is self signed or omitted from the OCSP +response.

    + +
    +
    top