GCS Amplitude
GCS Amplitude

Apache Module mod_proxy_express

```

www1.example.com http://192.168.211.2:8080

This module creates dynamically configured mass reverse 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 than

, which also provides dynamic growth, but is intended to handle much, much larger numbers of backends. It is ideally suited as a front-end HTTP switch.modproxybalancer

This module requires the service of

Do not enable proxying until you have secured your server. Open proxy servers are dangerous both to your network and to the Internet at large.

. Instead, it is intended to be mostly a lightweight and fast alternative to using mod_rewrite

flag for mapped reverse proxying. ServerName front.end.server ProxyPass / back.end.server:port ProxyPassReverse / back.end.server:port That is, the entire URL is appended to the mapped backend URL. This is in keeping with the intent of being a simple but fast reverse proxy switch.

The file is constructed from a plain text file format using the

www3.example.com http://192.168.212.10

httxt2dbm -i express-map.txt -o emap

Possible values are (not all may be available at run time):

| Value | Description | |---|---| db | Berkeley DB files | gdbm | GDBM files | ndbm | NDBM files | sdbm | SDBM files (always available) | default | default DBM type |

Modules | Directives | FAQ | Glossary | Sitemap

Apache HTTP Server Version 2.4

Apache Module mod_proxy_express

Available Languages: en | fr

ProxyExpressDBMFile Directive

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.

ProxyExpressDBMType Directive

The ProxyExpressDBMType directive controls the DBM type expected by the module. The default is the default DBM type created with httxt2dbm.

ProxyExpressEnable Directive

The ProxyExpressEnable directive controls whether the module will be active.