Expanding TXT support
[hcoop/domtool2.git] / lib / proxy.dtl
dissimilarity index 87%
index bc487a5..713fe6a 100644 (file)
@@ -1,10 +1,8 @@
-extern type proxy_port;
-{{A port number above 1024}}
-
-extern val localProxyPass : no_spaces -> no_spaces -> proxy_port -> [Vhost];
-extern val localProxyPassReverse : no_spaces -> no_spaces -> proxy_port -> [Vhost];
-{{Interface to Apache <tt>ProxyPass</tt> and <tt>LocalProxyPass</tt> for
-  proxying to localhost only. The arguments give:
-  <li> The URL prefix to treat as proxied</li>
-  <li> The corresponding URL prefix on the other local server</li>
-  <li> The port number of the local server</li>}}
+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.}}
+
+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>}}