Location and Directory
[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];
2882ee37
AC
18
19 location "/theMorgue" with
20 rewriteRule "A" "B" [];
21 end
f8dfbbcc 22 end;
8a7c40fa 23
f8dfbbcc 24 vhost "proxy" with
e95a129e
AC
25 proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand";
26 proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand";
2882ee37
AC
27
28 directory "/home/adamc/thisPlace" with
29 rewriteRule "A" "B" [];
30 end
e95a129e 31 end;
8a7c40fa 32
e95a129e
AC
33 vhost "lists" with
34 proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman";
35 end
8a7c40fa 36end