fe64f531f9563988baa23885a96a967b9c5e4534
[hcoop/domtool2.git] / lib / proxy.dtl
1 extern type proxy_target;
2 {{URL prefix designating where to send proxied requests.
3 It can be any localhost URL on a port of at least 1024.
4 In addition, other allowed targets can be configured.
5 It may also be the value "!" to not proxy a path.}}
6
7 extern type proxy_reverse_target;
8 {{URL prefix designating where to send proxied requests.
9 It can be any localhost URL on a port of at least 1024.
10 In addition, other allowed targets can be configured.}}
11
12 extern val proxyPass : no_spaces -> proxy_target -> [Vhost];
13 extern val proxyPassReverse : no_spaces -> proxy_reverse_target -> [Vhost];
14 {{Interface to Apache <tt>ProxyPass</tt> and <tt>ProxyPassReverse</tt>}}