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 |
3d3acca9 |
9 | serverAlias "hcoop.net"; |
4cc63b03 |
10 | addDefaultCharset "mumbo-jumbo/incomprehensible" |
d68ab27c |
11 | end; |
12 | |
13 | vhost "members" where |
14 | SSL = true |
15 | with |
697d1a52 |
16 | localProxyRewrite "^/(.*)$" "$1" 6666; |
169731e9 |
17 | rewriteCond "hi" "there" [ornext]; |
18 | rewriteRule "^/foo.html" "/bar.html" [redirectWith redir300, nosubreq]; |
ff2a424a |
19 | |
3d3acca9 |
20 | rewriteLogLevel 2; |
21 | |
ff2a424a |
22 | location "/theMorgue" with |
23 | rewriteRule "A" "B" []; |
24 | end |
697d1a52 |
25 | end; |
d68ab27c |
26 | |
697d1a52 |
27 | vhost "proxy" with |
69d98465 |
28 | serverAlias "proxy2.hcoop.net"; |
29 | |
169731e9 |
30 | proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand"; |
31 | proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand"; |
ff2a424a |
32 | |
ff8db773 |
33 | options [execCGI]; |
34 | set_options [execCGI, indexes]; |
35 | |
0279185b |
36 | scriptAlias "/cgi-bin/that-script" "/home/adamc/cgi/here-it-is"; |
37 | errorDocument "404" "I just couldn't find it."; |
38 | |
4cc63b03 |
39 | action "text/plain" "/cgi-bin/display"; |
40 | |
ff2a424a |
41 | directory "/home/adamc/thisPlace" with |
42 | rewriteRule "A" "B" []; |
ff8db773 |
43 | unset_options [includesNOEXEC]; |
ff2a424a |
44 | end |
169731e9 |
45 | end; |
d68ab27c |
46 | |
169731e9 |
47 | vhost "lists" with |
48 | proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman"; |
3d3acca9 |
49 | proxyPass "/pipermail" "http://hcoop.net/pipermail"; |
69d98465 |
50 | alias "/doc/mailman" "/home/adamc/mailman"; |
51 | |
4cc63b03 |
52 | location "/the-citadel" with |
53 | forceTypeOff; |
54 | end; |
55 | |
69d98465 |
56 | directoryIndex ["index.sml", "index.h", "index.v"] |
00e4345d |
57 | end; |
58 | |
59 | vhost "secret" with |
60 | location "/" with |
61 | authType basic; |
62 | authName "Herman the skunk"; |
63 | authUserFile "/home/adamc/passwds"; |
64 | |
65 | requireValidUser; |
66 | requireUser ["freddy", "flicky"]; |
67 | requireGroup ["awesome"]; |
68 | |
4cc63b03 |
69 | forceType "text/html"; |
70 | |
00e4345d |
71 | orderDenyAllow; |
72 | satisfyAny |
73 | end |
74 | end; |
efffba2a |
75 | |
76 | vhost "svn" with |
77 | location "/" with |
78 | davSvn "/home/adamc/svn"; |
79 | authzSvnAccessFile "/home/adamc/svn/acl"; |
db9c7cb7 |
80 | end; |
81 | |
82 | addDescription "nada" []; |
83 | addDescription "Ultimate \"Awesome\" file" ["awesome.txt"]; |
84 | addDescription "Runners up" ["prettyNeat.txt", "somewhatFunky.odp"]; |
85 | |
86 | indexOptions [iconsAreLinks, scanHtmlTitles, iconWidth 45]; |
87 | set_indexOptions [descriptionWidth autofit, nameWidth (characters 13)]; |
88 | unset_indexOptions [iconHeight 32, fancyIndexing]; |
89 | |
90 | headerName "header.html"; |
91 | readmeName "readme.txt" |
efffba2a |
92 | end; |
d68ab27c |
93 | end |