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 | |
c98b57cf | 9 | serverAlias "hcoop.net"; |
7f012ffd | 10 | addDefaultCharset "mumbo-jumbo/incomprehensible" |
8a7c40fa AC |
11 | end; |
12 | ||
13 | vhost "members" where | |
14 | SSL = true | |
15 | with | |
f8dfbbcc | 16 | localProxyRewrite "^/(.*)$" "$1" 6666; |
e95a129e AC |
17 | rewriteCond "hi" "there" [ornext]; |
18 | rewriteRule "^/foo.html" "/bar.html" [redirectWith redir300, nosubreq]; | |
2882ee37 | 19 | |
c98b57cf AC |
20 | rewriteLogLevel 2; |
21 | ||
2882ee37 AC |
22 | location "/theMorgue" with |
23 | rewriteRule "A" "B" []; | |
24 | end | |
f8dfbbcc | 25 | end; |
8a7c40fa | 26 | |
f8dfbbcc | 27 | vhost "proxy" with |
edd38024 AC |
28 | serverAlias "proxy2.hcoop.net"; |
29 | ||
e95a129e AC |
30 | proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand"; |
31 | proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand"; | |
2882ee37 | 32 | |
d441e69f AC |
33 | options [execCGI]; |
34 | set_options [execCGI, indexes]; | |
35 | ||
d5754b53 AC |
36 | scriptAlias "/cgi-bin/that-script" "/home/adamc/cgi/here-it-is"; |
37 | errorDocument "404" "I just couldn't find it."; | |
38 | ||
7f012ffd AC |
39 | action "text/plain" "/cgi-bin/display"; |
40 | ||
2882ee37 AC |
41 | directory "/home/adamc/thisPlace" with |
42 | rewriteRule "A" "B" []; | |
d441e69f | 43 | unset_options [includesNOEXEC]; |
2882ee37 | 44 | end |
e95a129e | 45 | end; |
8a7c40fa | 46 | |
e95a129e AC |
47 | vhost "lists" with |
48 | proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman"; | |
c98b57cf | 49 | proxyPass "/pipermail" "http://hcoop.net/pipermail"; |
edd38024 AC |
50 | alias "/doc/mailman" "/home/adamc/mailman"; |
51 | ||
7f012ffd AC |
52 | location "/the-citadel" with |
53 | forceTypeOff; | |
54 | end; | |
55 | ||
edd38024 | 56 | directoryIndex ["index.sml", "index.h", "index.v"] |
2aeb9eec AC |
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 | ||
7f012ffd AC |
69 | forceType "text/html"; |
70 | ||
2aeb9eec AC |
71 | orderDenyAllow; |
72 | satisfyAny | |
73 | end | |
74 | end; | |
c8505e59 AC |
75 | |
76 | vhost "svn" with | |
77 | location "/" with | |
78 | davSvn "/home/adamc/svn"; | |
79 | authzSvnAccessFile "/home/adamc/svn/acl"; | |
9d7fa346 AC |
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" | |
c8505e59 | 92 | end; |
8a7c40fa | 93 | end |