mod_rewrite and ProxyPass
[hcoop/domtool2.git] / tests / testApache.dtl
index 1c7ed54..3cee61d 100644 (file)
@@ -12,9 +12,13 @@ domain "hcoop.net" with
        vhost "members" where
                SSL = true
        with
        vhost "members" where
                SSL = true
        with
+               localProxyRewrite "^/(.*)$" "$1" 6666;
+               rewriteRule "^/foo.html" "/bar.html" [redirectWith redir300, nosubreq]
+       end;
 
 
+       vhost "proxy" with
+               localProxyPass "/proxyLand" "/otherProxyLand" 1234;
+               localProxyPassReverse "/proxyLand" "/otherProxyLand" 1234
        end
 
 end
        end
 
 end
-
-