From: Joe Orton Date: Tue, 16 Apr 2019 08:13:46 +0000 (+0000) Subject: Transforms. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b7fedf3aa37da0a18b44fc452ba1a48c554513ae;p=apache Transforms. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1857629 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/core.html.en b/docs/manual/mod/core.html.en index 35eccf570a..d837c458b7 100644 --- a/docs/manual/mod/core.html.en +++ b/docs/manual/mod/core.html.en @@ -100,6 +100,7 @@ available
  • MaxRangeOverlaps
  • MaxRangeReversals
  • MaxRanges
  • +
  • MergeSlashes
  • MergeTrailers
  • Mutex
  • NameVirtualHost
  • @@ -3619,6 +3620,32 @@ resource server is willing to satisfy. + +
    top
    +

    MergeSlashes Directive

    + + + + + + + + +
    Description:Controls whether the server merges consecutive slashes in URLs. +
    Syntax:MergeSlashes ON|OFF
    Default:MergeSlashes ON
    Context:server config, virtual host
    Status:Core
    Module:core
    Compatibility:Added in 2.5.1
    +

    By default, the server merges (or collapses) multiple consecutive slash + ('/') characters in the path component of the request URL.

    + +

    When mapping URL's to the filesystem, these multiple slashes are not + significant. However, URL's handled other ways, such as by CGI or proxy, + might prefer to retain the significance of multiple consecutive slashes. + In these cases MergeSlashes can be set to + OFF to retain the multiple consecutive slashes. In these + configurations, regular expressions used in the configuration file that match + the path component of the URL (LocationMatch, + RewriteRule, ...) need to take into account multiple + consecutive slashes.

    +
    top

    MergeTrailers Directive

    diff --git a/docs/manual/mod/directives.html.en b/docs/manual/mod/directives.html.en index 3e730c9f14..ae13c2294f 100644 --- a/docs/manual/mod/directives.html.en +++ b/docs/manual/mod/directives.html.en @@ -327,6 +327,7 @@
  • H2MaxWorkers
  • H2MinWorkers
  • H2ModernTLSOnly
  • +
  • H2Padding
  • H2Push
  • H2PushDiarySize
  • H2PushPriority
  • @@ -469,11 +470,13 @@
  • MDRequireHttps
  • MDStoreDir
  • MemcacheConnTTL
  • +
  • MergeSlashes
  • MergeTrailers
  • MetaDir
  • MetaFiles
  • MetaSuffix
  • MimeMagicFile
  • +
  • MimeOptions
  • MinSpareServers
  • MinSpareThreads
  • MMapFile
  • @@ -516,6 +519,7 @@
  • Protocols
  • ProtocolsHonorOrder
  • <Proxy>
  • +
  • Proxy100Continue
  • ProxyAddHeaders
  • ProxyBadHeader
  • ProxyBlock
  • diff --git a/docs/manual/mod/mod_http2.html.en b/docs/manual/mod/mod_http2.html.en index faac3050aa..0a3998ad65 100644 --- a/docs/manual/mod/mod_http2.html.en +++ b/docs/manual/mod/mod_http2.html.en @@ -84,6 +84,7 @@
  • H2MaxWorkers
  • H2MinWorkers
  • H2ModernTLSOnly
  • +
  • H2Padding
  • H2Push
  • H2PushDiarySize
  • H2PushPriority
  • @@ -434,6 +435,42 @@

    Example

    H2ModernTLSOnly off
    +
    +
    top
    +

    H2Padding Directive

    + + + + + + + + +
    Description:Determine the range of padding bytes added to payload frames
    Syntax:H2Padding numbits
    Default:H2Padding 0
    Context:server config, virtual host
    Status:Extension
    Module:mod_http2
    Compatibility:Available in version 2.4.39 and later.
    +

    + With the default 0, no padding bytes are added to any payload + frames, e.g. HEADERS, DATA and PUSH_PROMISE. This is the behaviour + of previous versions. It means that under certain conditions, an + observer of network traffic can see the length of those frames + in the TLS stream. +

    +

    + When configuring numbits of 1-8, a random number in range + [0, 2^numbits[ are added to each frame. The random value is chosen + independantly for each frame that the module sends back to the client. +

    +

    + While more padding bytes give better message length obfuscation, they + are also additional traffic. The optimal number therefore depends on + the kind of web traffic the server carries. +

    +

    + The default of 0, e.g. no padding, was chosen for maximum backward + compatibility. There might be deployments where padding bytes are + unwanted or do harm. The most likely cause would be a client that + has a faults implementation. +

    +
    top

    H2Push Directive

    diff --git a/docs/manual/mod/mod_mime.html.en b/docs/manual/mod/mod_mime.html.en index 242e1d5ee1..1c6dc26cb8 100644 --- a/docs/manual/mod/mod_mime.html.en +++ b/docs/manual/mod/mod_mime.html.en @@ -95,6 +95,7 @@
  • AddOutputFilter
  • AddType
  • DefaultLanguage
  • +
  • MimeOptions
  • ModMimeUsePathInfo
  • MultiviewsMatch
  • RemoveCharset
  • @@ -660,6 +661,45 @@ assigned a language-tag by some other means. +
    +
    top
    +

    MimeOptions Directive

    + + + + + + + + +
    Description:Configures mod_mime behavior
    Syntax:MimeOptionsoption [option] ...
    Context:server config, virtual host, directory, .htaccess
    Override:FileInfo
    Status:Base
    Module:mod_mime
    Compatibility:Apache HTTP Server 2.5.1 and later
    +

    The MimeOptions directive configures certain + behaviors of mod_mime. Option can + be one of

    + +
    +
    TypesLastExtension
    +
    This option only consider the last (right-most) filename extension + when determining a files Content-Type.
    +
    NoTypesLastExtension
    +
    This option can be used to revert to the default behavior of testing + every filename extension when determining a files Content-Type.
    +
    AllLastExtension
    +
    This option only consider the last (right-most) filename extension + when scanning filenames.
    +
    NoAllLastExtension
    +
    This option can be used to revert to the default behavior of scanning + every filename extension. Only useful if + MimeOptions AllLastExtension has been used in a lower precedence + configuration section
    +
    Disable
    +
    All assignment of metadata based on the filename is skipped.
    +
    Enable
    +
    Re-enables file extension checking by this module. Only useful if a lower + precedence configuration section has specified + MimeOptions Disable.
    +
    +
    top

    ModMimeUsePathInfo Directive

    diff --git a/docs/manual/mod/mod_proxy.html.en b/docs/manual/mod/mod_proxy.html.en index da2d4db012..d18deff624 100644 --- a/docs/manual/mod/mod_proxy.html.en +++ b/docs/manual/mod/mod_proxy.html.en @@ -107,6 +107,7 @@
  • BalancerPersist
  • NoProxy
  • <Proxy>
  • +
  • Proxy100Continue
  • ProxyAddHeaders
  • ProxyBadHeader
  • ProxyBlock
  • @@ -772,6 +773,27 @@ NoProxy .example.com 192.168.112.0/21 +
    +
    top
    +

    Proxy100Continue Directive

    + + + + + + + + +
    Description:Forward 100-continue expectation to the origin server
    Syntax:Proxy100Continue Off|On
    Default:Proxy100Continue On
    Context:server config, virtual host, directory
    Status:Extension
    Module:mod_proxy
    Compatibility:Available in version 2.4.39 and later
    +

    This directive determines whether the proxy should forward 100-continue + Expect:ation to the origin server and thus let it decide when/if + the HTTP request body should be read, or when Off the proxy + should generate 100 Continue intermediate response by itself before + forwarding the request body.

    +

    Effectiveness

    +

    This option is of use only for HTTP proxying, as handled by mod_proxy_http.

    +
    +
    top

    ProxyAddHeaders Directive

    diff --git a/docs/manual/mod/mod_reqtimeout.html.en b/docs/manual/mod/mod_reqtimeout.html.en index f67b95887f..52c48e0b26 100644 --- a/docs/manual/mod/mod_reqtimeout.html.en +++ b/docs/manual/mod/mod_reqtimeout.html.en @@ -120,7 +120,7 @@ the request headers and/or body from client. Status:Extension Module:mod_reqtimeout Compatibility:Defaulted to disabled in version 2.3.14 and earlier. The -handshake stage is available since version 2.5. +handshake stage is available since version 2.4.39.

    This directive can set various timeouts for completing the TLS handshake, diff --git a/docs/manual/mod/mod_socache_redis.html.en b/docs/manual/mod/mod_socache_redis.html.en index a44e23c3e3..2225f17b9a 100644 --- a/docs/manual/mod/mod_socache_redis.html.en +++ b/docs/manual/mod/mod_socache_redis.html.en @@ -31,7 +31,8 @@ -
    Description:Redis based shared object cache provider.
    Status:Extension
    Module Identifier:socache_redis_module
    Source File:mod_socache_redis.c
    +Source File:mod_socache_redis.c +Compatibility:Available in Apache 2.4.39 and later

    Summary

    mod_socache_redis is a shared object cache provider @@ -73,7 +74,7 @@ Context:server config, virtual host Status:Extension Module:mod_socache_redis -Compatibility:Available in Apache 2.5 and later +Compatibility:Available in Apache 2.4.39 and later

    Set the time to keep idle connections with the Redis server(s) alive (threaded platforms only).

    @@ -101,7 +102,7 @@ RedisConnPoolTTL 60 Context:server config, virtual host Status:Extension Module:mod_socache_redis -Compatibility:Available in Apache 2.5 and later +Compatibility:Available in Apache 2.4.39 and later

    Set the Read/Write timeout used for the connection with the Redis server(s).

    diff --git a/docs/manual/mod/mpm_common.html.en b/docs/manual/mod/mpm_common.html.en index 5a0e8a20c6..48befa513a 100644 --- a/docs/manual/mod/mpm_common.html.en +++ b/docs/manual/mod/mpm_common.html.en @@ -117,6 +117,17 @@ switch before dumping core operating system is not configured to write core files to the working directory of the crashing processes.

    +
    +

    Security note for Linux systems

    + +

    Using this directive on Linux may allow other processes on + the system (if running with similar privileges, such as CGI + scripts) to attach to httpd children via the ptrace + system call. This may make weaken the protection from certain + security attacks. It is not recommended to use this directive + on production systems.

    +
    +

    Core Dumps on Linux

    If Apache httpd starts as root and switches to another user, the Linux kernel disables core dumps even if the directory is diff --git a/docs/manual/mod/mpm_common.xml.de b/docs/manual/mod/mpm_common.xml.de index 27208bb0a9..87ebdc85a0 100644 --- a/docs/manual/mod/mpm_common.xml.de +++ b/docs/manual/mod/mpm_common.xml.de @@ -1,7 +1,7 @@ - + + diff --git a/docs/manual/mod/mpm_common.xml.ja b/docs/manual/mod/mpm_common.xml.ja index 670c162e30..b6ef59a7da 100644 --- a/docs/manual/mod/mpm_common.xml.ja +++ b/docs/manual/mod/mpm_common.xml.ja @@ -1,7 +1,7 @@ - + +