Move mailman to mccarthy.hcoop.net
[jyaworski/domtool2.git] / lib / proxy.dtl
index 713fe6a..4886c38 100644 (file)
@@ -1,8 +1,17 @@
 extern type proxy_target;
+{{URL prefix designating where to send proxied requests.
+  It can be any localhost URL on a port of at least 1024.
+  In addition, other allowed targets can be configured.
+  It may also be the value "!" to not proxy a path.}}
+
+extern type proxy_reverse_target;
 {{URL prefix designating where to send proxied requests.
   It can be any localhost URL on a port of at least 1024.
   In addition, other allowed targets can be configured.}}
 
 extern val proxyPass : no_spaces -> proxy_target -> [Vhost];
-extern val proxyPassReverse : no_spaces -> proxy_target -> [Vhost];
-{{Interface to Apache <tt>ProxyPass</tt> and <tt>LocalProxyPass</tt>}}
+extern val proxyPassReverse : no_spaces -> proxy_reverse_target -> [Vhost];
+{{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