Commit | Line | Data |
---|---|---|
8a7c40fa AC |
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 | |
7f012ffd | 9 | addDefaultCharset "mumbo-jumbo/incomprehensible" |
8a7c40fa AC |
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 |
edd38024 AC |
25 | serverAlias "proxy2.hcoop.net"; |
26 | ||
e95a129e AC |
27 | proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand"; |
28 | proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand"; | |
2882ee37 | 29 | |
d441e69f AC |
30 | options [execCGI]; |
31 | set_options [execCGI, indexes]; | |
32 | ||
d5754b53 AC |
33 | scriptAlias "/cgi-bin/that-script" "/home/adamc/cgi/here-it-is"; |
34 | errorDocument "404" "I just couldn't find it."; | |
35 | ||
7f012ffd AC |
36 | action "text/plain" "/cgi-bin/display"; |
37 | ||
2882ee37 AC |
38 | directory "/home/adamc/thisPlace" with |
39 | rewriteRule "A" "B" []; | |
d441e69f | 40 | unset_options [includesNOEXEC]; |
2882ee37 | 41 | end |
e95a129e | 42 | end; |
8a7c40fa | 43 | |
e95a129e AC |
44 | vhost "lists" with |
45 | proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman"; | |
edd38024 AC |
46 | alias "/doc/mailman" "/home/adamc/mailman"; |
47 | ||
7f012ffd AC |
48 | location "/the-citadel" with |
49 | forceTypeOff; | |
50 | end; | |
51 | ||
edd38024 | 52 | directoryIndex ["index.sml", "index.h", "index.v"] |
2aeb9eec AC |
53 | end; |
54 | ||
55 | vhost "secret" with | |
56 | location "/" with | |
57 | authType basic; | |
58 | authName "Herman the skunk"; | |
59 | authUserFile "/home/adamc/passwds"; | |
60 | ||
61 | requireValidUser; | |
62 | requireUser ["freddy", "flicky"]; | |
63 | requireGroup ["awesome"]; | |
64 | ||
7f012ffd AC |
65 | forceType "text/html"; |
66 | ||
2aeb9eec AC |
67 | orderDenyAllow; |
68 | satisfyAny | |
69 | end | |
70 | end; | |
8a7c40fa | 71 | end |