| 1 | domain "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 |
| 15 | localProxyRewrite "^/(.*)$" "$1" 6666; |
| 16 | rewriteCond "hi" "there" [ornext]; |
| 17 | rewriteRule "^/foo.html" "/bar.html" [redirectWith redir300, nosubreq]; |
| 18 | |
| 19 | location "/theMorgue" with |
| 20 | rewriteRule "A" "B" []; |
| 21 | end |
| 22 | end; |
| 23 | |
| 24 | vhost "proxy" with |
| 25 | proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand"; |
| 26 | proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand"; |
| 27 | |
| 28 | options [execCGI]; |
| 29 | set_options [execCGI, indexes]; |
| 30 | |
| 31 | scriptAlias "/cgi-bin/that-script" "/home/adamc/cgi/here-it-is"; |
| 32 | errorDocument "404" "I just couldn't find it."; |
| 33 | |
| 34 | directory "/home/adamc/thisPlace" with |
| 35 | rewriteRule "A" "B" []; |
| 36 | unset_options [includesNOEXEC]; |
| 37 | end |
| 38 | end; |
| 39 | |
| 40 | vhost "lists" with |
| 41 | proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman"; |
| 42 | alias "/doc/mailman" "/home/adamc/mailman" |
| 43 | end |
| 44 | end |