From: Christophe Jaillet Date: Sun, 27 Jan 2019 08:36:15 +0000 (+0000) Subject: Fix typo (s/ProxyExpressDBMFile/ProxyExpressDBMType/) X-Git-Tag: 2.4.39~123 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b88b068f1b9f3a8553aa992f28e89ac31b5ccfda;p=thirdparty%2Fapache%2Fhttpd.git Fix typo (s/ProxyExpressDBMFile/ProxyExpressDBMType/) PR 63119. Move compatibility note in the module synopsis instead of repeating it in all directives. Fix the way values are given, so that they can be reflected in quickreference.html. Fix the style used in to be consistent with the documentation. Improve syntax highlight. (r1852270 in trunk) + synch with trunk git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1852273 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_proxy_express.xml b/docs/manual/mod/mod_proxy_express.xml index 10b6b05d452..ce75f79f5ce 100644 --- a/docs/manual/mod/mod_proxy_express.xml +++ b/docs/manual/mod/mod_proxy_express.xml @@ -28,10 +28,11 @@ Extension mod_proxy_express.c proxy_express_module +Available in Apache 2.3.13 and later

This module creates dynamically configured mass reverse - proxies, by mapping the Host: header of the HTTP request to + proxies, by mapping the Host: header of the HTTP request to a server name and backend URL stored in a DBM file. This allows for easy use of a huge number of reverse proxies with no configuration changes. It is much less feature-full @@ -55,8 +56,8 @@

  • This module is not intended to replace the dynamic capability of mod_proxy_balancer. Instead, it is intended to be mostly a lightweight and fast alternative to using mod_rewrite - with RewriteMap and the [P] flag - for mapped reverse proxying. + with RewriteMap and the + [P] flag for mapped reverse proxying.
  • It does not support regex or pattern matching at all.
  • @@ -64,7 +65,7 @@ <VirtualHost *:80> ServerName front.end.server - ProxyPass "/" "back.end.server:port" + ProxyPass "/" "back.end.server:port" ProxyPassReverse "/" "back.end.server:port" </VirtualHost> @@ -85,11 +86,10 @@ ProxyExpressEnable Enable the module functionality. -ProxyExpressEnable [on|off] -off +ProxyExpressEnable on|off +ProxyExpressEnable off server configvirtual host -Available in Apache 2.3.13 and later

    The ProxyExpressEnable directive @@ -100,17 +100,15 @@ ProxyExpressDBMFile Pathname to DBM file. -ProxyExpressDBMFile <pathname> -None +ProxyExpressDBMFile pathname server configvirtual host -Available in Apache 2.3.13 and later

    The ProxyExpressDBMFile directive points to the location of the Express map DBM file. This file serves to map the incoming server name, obtained from - the Host: header, to a backend URL.

    + the Host: header, to a backend URL.

    Note

    The file is constructed from a plain text file format using @@ -122,19 +120,21 @@ ##express-map.txt:
    ##

    - www1.example.com http://192.168.211.2:8080
    + www1.example.com http://192.168.211.2:8080
    www2.example.com http://192.168.211.12:8088
    www3.example.com http://192.168.212.10
    Create DBM file httxt2dbm -i express-map.txt -o emap
    -
    + Configuration - ProxyExpressEnable on
    - ProxyExpressDBMFile emap
    -
    + +ProxyExpressEnable on +ProxyExpressDBMFile emap + + @@ -142,11 +142,10 @@ ProxyExpressDBMType DBM type of file. -ProxyExpressDBMFile <type> -"default" +ProxyExpressDBMType type +ProxyExpressDBMType default server configvirtual host -Available in Apache 2.3.13 and later

    The ProxyExpressDBMType directive