X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/8a7c40fa29ff18a437fcf4ee3f248a7aeb41c19c..2882ee37fded46346977da456ae793f3e6a3bfac:/tests/testApache.dtl?ds=sidebyside diff --git a/tests/testApache.dtl b/tests/testApache.dtl index 1c7ed54..7e57594 100644 --- a/tests/testApache.dtl +++ b/tests/testApache.dtl @@ -12,9 +12,25 @@ domain "hcoop.net" with vhost "members" where SSL = true with + localProxyRewrite "^/(.*)$" "$1" 6666; + rewriteCond "hi" "there" [ornext]; + rewriteRule "^/foo.html" "/bar.html" [redirectWith redir300, nosubreq]; - end + location "/theMorgue" with + rewriteRule "A" "B" []; + end + end; -end + vhost "proxy" with + proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand"; + proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand"; + directory "/home/adamc/thisPlace" with + rewriteRule "A" "B" []; + end + end; + vhost "lists" with + proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman"; + end +end