summaryrefslogtreecommitdiff
path: root/usr.sbin/httpd/htdocs
diff options
context:
space:
mode:
authorFederico G. Schwindt <fgsch@cvs.openbsd.org>2006-08-01 12:54:00 +0000
committerFederico G. Schwindt <fgsch@cvs.openbsd.org>2006-08-01 12:54:00 +0000
commitc78af52a393171834245a4b58aa5dda0b1638d15 (patch)
treec27a0026c36eea0527cb9d15abe458a80db3e3b9 /usr.sbin/httpd/htdocs
parent22c8606ccdffebd21ec62450def95cdae067486c (diff)
add ProxyPreserveHost support to mod_proxy. it allows to pass the original
Host header to the backend. default off. henning@ ok.
Diffstat (limited to 'usr.sbin/httpd/htdocs')
-rw-r--r--usr.sbin/httpd/htdocs/manual/mod/mod_proxy.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/usr.sbin/httpd/htdocs/manual/mod/mod_proxy.html b/usr.sbin/httpd/htdocs/manual/mod/mod_proxy.html
index 6e0b7e19c32..b4e6497d258 100644
--- a/usr.sbin/httpd/htdocs/manual/mod/mod_proxy.html
+++ b/usr.sbin/httpd/htdocs/manual/mod/mod_proxy.html
@@ -61,6 +61,8 @@
<li><a href="#proxypassreverse">ProxyPassReverse</a></li>
+ <li><a href="#proxypreservehost">ProxyPreserveHost</a></li>
+
<li><a href="#proxyblock">ProxyBlock</a></li>
<li><a href="#allowconnect">AllowCONNECT</a></li>
@@ -563,6 +565,33 @@ application/octet-stream bin dms lha lzh exe class tgz taz
<samp>ProxyPass</samp> directive.</p>
<hr />
+ <h2><a id="proxypreservehost"
+ name="proxypreservehost">ProxyPreserveHost</a> directive</h2>
+ <a href="directive-dict.html#Syntax"
+ rel="Help"><strong>Syntax:</strong></a> ProxyPreserveHost
+ <em>on|off</em><br />
+ <a href="directive-dict.html#Default"
+ rel="Help"><strong>Default:</strong></a>
+ <em><samp>ProxyPreserveHost</samp> off</em><br />
+ <a href="directive-dict.html#Context"
+ rel="Help"><strong>Context:</strong></a> server config, virtual
+ host<br />
+ <a href="directive-dict.html#Override"
+ rel="Help"><strong>Override:</strong></a> <em>Not
+ applicable</em><br />
+ <a href="directive-dict.html#Status"
+ rel="Help"><strong>Status:</strong></a> Base<br />
+ <a href="directive-dict.html#Module"
+ rel="Help"><strong>Module:</strong></a> mod_proxy<br />
+
+ <p>When enabled, this option will pass the Host: line from the
+ incoming request to the proxied host, instead of the hostname
+ specified in the proxypass line.<br />
+ This option should normally be turned Off. It is mostly useful
+ in special configurations like proxied mass name-based virtual
+ hosting, where the original Host header needs to be evaluated by
+ the backend server.</p>
+
<h2><a id="allowconnect" name="allowconnect">AllowCONNECT</a>
directive</h2>
<a href="directive-dict.html#Syntax"