Changed ProxyPass
[hcoop/domtool2.git] / tests / testApache.dtl
CommitLineData
8a7c40fa
AC
1domain "hcoop.net" with
2
3 vhost "www" where
4 User = "adamc";
5 Group = "adamc";
6 DocumentRoot = "/home/adamc/html";
7 ServerAdmin = "adamc@hcoop.net"
8 with
9
10 end;
11
12 vhost "members" where
13 SSL = true
14 with
f8dfbbcc 15 localProxyRewrite "^/(.*)$" "$1" 6666;
e95a129e
AC
16 rewriteCond "hi" "there" [ornext];
17 rewriteRule "^/foo.html" "/bar.html" [redirectWith redir300, nosubreq];
f8dfbbcc 18 end;
8a7c40fa 19
f8dfbbcc 20 vhost "proxy" with
e95a129e
AC
21 proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand";
22 proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand";
23 end;
8a7c40fa 24
e95a129e
AC
25 vhost "lists" with
26 proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman";
27 end
8a7c40fa 28end