Location and Directory
[hcoop/domtool2.git] / tests / testApache.dtl
index 1c7ed54..7e57594 100644 (file)
@@ -12,9 +12,25 @@ domain "hcoop.net" with
        vhost "members" where
                SSL = true
        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