HCoop
/
hcoop
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
URL handling
[hcoop/domtool2.git]
/
tests
/
testApache.dtl
diff --git
a/tests/testApache.dtl
b/tests/testApache.dtl
index
13cbed3
..
c8438ff
100644
(file)
--- a/
tests/testApache.dtl
+++ b/
tests/testApache.dtl
@@
-15,14
+15,26
@@
domain "hcoop.net" with
localProxyRewrite "^/(.*)$" "$1" 6666;
rewriteCond "hi" "there" [ornext];
rewriteRule "^/foo.html" "/bar.html" [redirectWith redir300, nosubreq];
localProxyRewrite "^/(.*)$" "$1" 6666;
rewriteCond "hi" "there" [ornext];
rewriteRule "^/foo.html" "/bar.html" [redirectWith redir300, nosubreq];
+
+ location "/theMorgue" with
+ rewriteRule "A" "B" [];
+ end
end;
vhost "proxy" with
proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand";
proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand";
end;
vhost "proxy" with
proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand";
proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand";
+
+ 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" [];
+ end
end;
vhost "lists" with
proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman";
end;
vhost "lists" with
proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman";
+ alias "/doc/mailman" "/home/adamc/mailman"
end
end
end
end