d68ab27c |
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 |
697d1a52 |
15 | localProxyRewrite "^/(.*)$" "$1" 6666; |
169731e9 |
16 | rewriteCond "hi" "there" [ornext]; |
17 | rewriteRule "^/foo.html" "/bar.html" [redirectWith redir300, nosubreq]; |
ff2a424a |
18 | |
19 | location "/theMorgue" with |
20 | rewriteRule "A" "B" []; |
21 | end |
697d1a52 |
22 | end; |
d68ab27c |
23 | |
697d1a52 |
24 | vhost "proxy" with |
69d98465 |
25 | serverAlias "proxy2.hcoop.net"; |
26 | |
169731e9 |
27 | proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand"; |
28 | proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand"; |
ff2a424a |
29 | |
ff8db773 |
30 | options [execCGI]; |
31 | set_options [execCGI, indexes]; |
32 | |
0279185b |
33 | scriptAlias "/cgi-bin/that-script" "/home/adamc/cgi/here-it-is"; |
34 | errorDocument "404" "I just couldn't find it."; |
35 | |
ff2a424a |
36 | directory "/home/adamc/thisPlace" with |
37 | rewriteRule "A" "B" []; |
ff8db773 |
38 | unset_options [includesNOEXEC]; |
ff2a424a |
39 | end |
169731e9 |
40 | end; |
d68ab27c |
41 | |
169731e9 |
42 | vhost "lists" with |
43 | proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman"; |
69d98465 |
44 | alias "/doc/mailman" "/home/adamc/mailman"; |
45 | |
46 | directoryIndex ["index.sml", "index.h", "index.v"] |
00e4345d |
47 | end; |
48 | |
49 | vhost "secret" with |
50 | location "/" with |
51 | authType basic; |
52 | authName "Herman the skunk"; |
53 | authUserFile "/home/adamc/passwds"; |
54 | |
55 | requireValidUser; |
56 | requireUser ["freddy", "flicky"]; |
57 | requireGroup ["awesome"]; |
58 | |
59 | orderDenyAllow; |
60 | satisfyAny |
61 | end |
62 | end; |
d68ab27c |
63 | end |