* Link other proxy directives to apache docs while I'm at it.
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
write to;
write "\n"))
+val () = Env.action_one "proxyPreserveHost"
+ ("enable", Env.bool)
+ (fn (enable) =>
+ (write "\tProxyPreserveHost\t";
+ if enable then write "On" else write "Off";
+ write "\n"))
+
val () = Env.action_three "rewriteRule"
("from", Env.string, "to", Env.string, "flags", Env.list flag)
(fn (from, to, flags) =>