mod_rewrite and 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
AC
15 localProxyRewrite "^/(.*)$" "$1" 6666;
16 rewriteRule "^/foo.html" "/bar.html" [redirectWith redir300, nosubreq]
17 end;
8a7c40fa 18
f8dfbbcc
AC
19 vhost "proxy" with
20 localProxyPass "/proxyLand" "/otherProxyLand" 1234;
21 localProxyPassReverse "/proxyLand" "/otherProxyLand" 1234
8a7c40fa
AC
22 end
23
24end