mod_proxy
Fakten zu mod_proxy
Definition
mod_proxy ist ein Modul des Apache WebServer und implementiert ein Proxy/Gateway für den Apache. Es ist ein Nachfolger des Modules mod_jk.
Überblick
Description | HTTP/1.1 proxy/gateway server |
Status | Extension |
Module Identifier | proxy_module |
Source File | mod_proxy.c |
Beispiele
ProxyRequests On ProxyVia On <Proxy *> Order deny,allow Deny from all Allow from internal.example.com </Proxy>
ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /foo http://foo.example.com/bar ProxyPassReverse /foo http://foo.example.com/bar
Direktiven
Hier folgt nur die Aufzählung der Direktiven. Fürmehr Infos bitte die Dokumentation der Apache Software Foundation 1 nutzen.
AllowCONNECT Directive
Description | Ports that are allowed to CONNECT through the proxy |
Syntax | AllowCONNECT port port ... |
Default | AllowCONNECT 443 563 |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
NoProxy Directive
Description | Hosts, domains, or networks that will be connected to directly |
Syntax | NoProxy host host ... |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
<Proxy> Directive
Description | Container for directives applied to proxied resources |
Syntax | <Proxy wildcard-url> ...</Proxy> |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
ProxyBadHeader Directive
Description | Determines how to handle bad header lines in a response |
Syntax | ProxyBadHeader IsError|Ignore|StartBody |
Default | ProxyBadHeader IsError |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
Compatibility | Available in Apache 2.0.44 and later |
ProxyBlock Directive
Description | Words, hosts, or domains that are banned from being proxied |
Syntax | ProxyBlock *|word|host|domain [word|host|domain] ... |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
ProxyDomain Directive
Description | Default domain name for proxied requests |
Syntax | ProxyDomain Domain |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
ProxyErrorOverride Directive
Description | Override error pages for proxied content |
Syntax | ProxyErrorOverride On|Off |
Default | ProxyErrorOverride Off |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
Compatibility | Available in version 2.0 and later |
ProxyFtpDirCharset Directive
Description | Define the character set for proxied FTP listings |
Syntax | ProxyFtpDirCharset character set |
Default | ProxyFtpDirCharset ISO-8859-1 |
Context | server config, virtual host, directory |
Status | Extension |
Module | mod_proxy |
Compatibility | Available in Apache 2.0.62 and later |
ProxyIOBufferSize Directive
Description | Determine size of internal data throughput buffer |
Syntax | ProxyIOBufferSize bytes |
Default | ProxyIOBufferSize 8192 |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
<ProxyMatch> Directive
Description | Container for directives applied to regular-expression-matched proxied resources |
Syntax | <ProxyMatch regex> ...</ProxyMatch> |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
ProxyMaxForwards Directive
Description | Maximium number of proxies that a request can be forwarded through |
Syntax | ProxyMaxForwards number |
Default | ProxyMaxForwards 10 |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
Compatibility | Available in Apache 2.0 and later |
ProxyPass Directive
Description | Maps remote servers into the local server URL-space |
Syntax | ProxyPass _path_ !|url |
Context | server config, virtual host, directory |
Status | Extension |
Module | mod_proxy |
ProxyPassReverse Directive
Description | Adjusts the URL in HTTP response headers sent from a reverse proxied server |
Syntax | ProxyPassReverse _path_ url |
Context | server config, virtual host, directory |
Status | Extension |
Module | mod_proxy |
ProxyPreserveHost Directive
Description | Use incoming Host HTTP request header for proxy request |
Syntax | ProxyPreserveHost On|Off |
Default | ProxyPreserveHost Off |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
Compatibility | Available in Apache 2.0.31 and later. |
ProxyReceiveBufferSize Directive
Description | Network buffer size for proxied HTTP and FTP connections |
Syntax | ProxyReceiveBufferSize bytes |
Default | ProxyReceiveBufferSize 0 |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
ProxyRemote Directive
Description | Remote proxy used to handle certain requests |
Syntax | ProxyRemote match remote-server |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
ProxyRemoteMatch Directive
Description | Remote proxy used to handle requests matched by regular expressions |
Syntax | ProxyRemoteMatch regex remote-server |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
ProxyRequests Directive
Description | Enables forward (standard) proxy requests |
Syntax | ProxyRequests On|Off |
Default | ProxyRequests Off |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
ProxyTimeout Directive
Description | Network timeout for proxied requests |
Syntax | ProxyTimeout seconds |
Default | ProxyTimeout 300 |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |
Compatibility | Available in Apache 2.0.31 and later |
ProxyVia Directive
Description | Information provided in the Via HTTP response header for proxied requests |
Syntax | ProxyVia On|Off|Full|Block |
Default | ProxyVia Off |
Context | server config, virtual host |
Status | Extension |
Module | mod_proxy |