mod_rewrite and ProxyPass
[hcoop/domtool2.git] / lib / proxy.dtl
1 extern type proxy_port;
2 {{A port number above 1024}}
3
4 extern val localProxyPass : no_spaces -> no_spaces -> proxy_port -> [Vhost];
5 extern val localProxyPassReverse : no_spaces -> no_spaces -> proxy_port -> [Vhost];
6 {{Interface to Apache <tt>ProxyPass</tt> and <tt>LocalProxyPass</tt> for
7 proxying to localhost only. The arguments give:
8 <li> The URL prefix to treat as proxied</li>
9 <li> The corresponding URL prefix on the other local server</li>
10 <li> The port number of the local server</li>}}