X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/f8dfbbcc29a40de94580697e610db6254b85f0fb..d441e69fed5d0cb98549b10aa66c2637499021da:/tests/testApache.dtl diff --git a/tests/testApache.dtl b/tests/testApache.dtl index 3cee61d..ff45dfa 100644 --- a/tests/testApache.dtl +++ b/tests/testApache.dtl @@ -13,12 +13,32 @@ domain "hcoop.net" with SSL = true with localProxyRewrite "^/(.*)$" "$1" 6666; - rewriteRule "^/foo.html" "/bar.html" [redirectWith redir300, nosubreq] + rewriteCond "hi" "there" [ornext]; + rewriteRule "^/foo.html" "/bar.html" [redirectWith redir300, nosubreq]; + + location "/theMorgue" with + rewriteRule "A" "B" []; + end end; vhost "proxy" with - localProxyPass "/proxyLand" "/otherProxyLand" 1234; - localProxyPassReverse "/proxyLand" "/otherProxyLand" 1234 - end + 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" + end end