Add ProxyPreserveHost apache directive
[jyaworski/domtool2.git] / lib / proxy.dtl
index fe64f53..4886c38 100644 (file)
@@ -11,4 +11,7 @@ extern type proxy_reverse_target;
 
 extern val proxyPass : no_spaces -> proxy_target -> [Vhost];
 extern val proxyPassReverse : no_spaces -> proxy_reverse_target -> [Vhost];
-{{Interface to Apache <tt>ProxyPass</tt> and <tt>ProxyPassReverse</tt>}}
+{{Interface to Apache <tt><a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypass">ProxyPass</a></tt> and <tt><a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassreverse">ProxyPassReverse</a></tt>}}
+
+extern val proxyPreserveHost : bool -> [Vhost];
+{{Pass the Host header to the proxied server unmodified. <a href="http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypreservehost">Apache docs</a>.}}
\ No newline at end of file