Full regeneration
[hcoop/domtool2.git] / tests / testApache.dtl
index e637d69..293a21d 100644 (file)
@@ -6,6 +6,7 @@ domain "hcoop.net" with
                DocumentRoot = "/home/adamc/html";
                ServerAdmin = "adamc@hcoop.net"
        with
+               serverAlias "hcoop.net";
                addDefaultCharset "mumbo-jumbo/incomprehensible"
        end;
 
@@ -16,6 +17,8 @@ domain "hcoop.net" with
                rewriteCond "hi" "there" [ornext];
                rewriteRule "^/foo.html" "/bar.html" [redirectWith redir300, nosubreq];
 
+               rewriteLogLevel 2;
+
                location "/theMorgue" with
                        rewriteRule "A" "B" [];
                end
@@ -43,6 +46,7 @@ domain "hcoop.net" with
 
        vhost "lists" with
                proxyPass "/mailman" "http://hcoop.net/cgi-bin/mailman";
+               proxyPass "/pipermail" "http://hcoop.net/pipermail";
                alias "/doc/mailman" "/home/adamc/mailman";
 
                location "/the-citadel" with
@@ -68,4 +72,22 @@ domain "hcoop.net" with
                        satisfyAny
                end
        end;
+
+       vhost "svn" with
+               location "/" with
+                       davSvn "/home/adamc/svn";
+                       authzSvnAccessFile "/home/adamc/svn/acl";
+               end;
+
+               addDescription "nada" [];
+               addDescription "Ultimate \"Awesome\" file" ["awesome.txt"];
+               addDescription "Runners up" ["prettyNeat.txt", "somewhatFunky.odp"];
+
+               indexOptions [iconsAreLinks, scanHtmlTitles, iconWidth 45];
+               set_indexOptions [descriptionWidth autofit, nameWidth (characters 13)];
+               unset_indexOptions [iconHeight 32, fancyIndexing];
+
+               headerName "header.html";
+               readmeName "readme.txt"
+       end;
 end