X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/8a7c40fa29ff18a437fcf4ee3f248a7aeb41c19c..edd380241e9ba2b750eb9a1f82ffd6feeab6252f:/tests/testApache.dtl diff --git a/tests/testApache.dtl b/tests/testApache.dtl index 1c7ed54..9c28fcd 100644 --- a/tests/testApache.dtl +++ b/tests/testApache.dtl @@ -12,9 +12,37 @@ 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 + serverAlias "proxy2.hcoop.net"; + + proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand"; + proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand"; + + options [execCGI]; + set_options [execCGI, indexes]; + scriptAlias "/cgi-bin/that-script" "/home/adamc/cgi/here-it-is"; + errorDocument "404" "I just couldn't find it."; + directory "/home/adamc/thisPlace" with + rewriteRule "A" "B" []; + unset_options [includesNOEXEC]; + end + end; + + vhost "lists" with + proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman"; + alias "/doc/mailman" "/home/adamc/mailman"; + + directoryIndex ["index.sml", "index.h", "index.v"] + end +end