Changes before announcement to hcoop-discuss
[hcoop/domtool2.git] / tests / testBusy.dtl
diff --git a/tests/testBusy.dtl b/tests/testBusy.dtl
new file mode 100644 (file)
index 0000000..7c2216a
--- /dev/null
@@ -0,0 +1,45 @@
+domain "hcoop.net" with
+       dns (dnsNS "ns.hcoop.net");
+
+       dns (dnsA "a" "1.2.3.4");
+       dns (dnsCNAME "b" "a.hcoop.net");
+       dns (dnsMX 1 "mail.nowhere.eu");
+
+       handleMail;
+
+       emailAlias "someone" "someoneElse";
+       aliasMulti "me" ["nowhere","smelly@yikes.com"];
+
+       catchAllAlias "me@gmail.com";
+
+       mailmanWebHost "lists.hcoop.net";
+
+       dns (dnsA "www" web_ip);
+       vhost "www" where
+               DocumentRoot = "/home/adamc/html";
+               ServerAdmin = "my@other.address"
+       with
+               serverAlias "hcoop.net";
+               addDefaultCharset "mumbo-jumbo/incomprehensible";
+
+               location "/theMorgue" with
+                       rewriteRule "A" "B" [];
+               end;
+       end;
+end;
+
+domain "schizomaniac.net" where
+       TTL = 1234
+with
+       vhost "www" with
+               directory "/home/adamc/thisPlace" with
+                       unset_options [includesNOEXEC];
+                       indexOptions [iconsAreLinks, scanHtmlTitles, iconWidth 45];
+               end
+       end;
+
+       vhost "proxy" with
+               proxyPass "/proxyLand" "http://localhost:1234/otherProxyLand";
+               proxyPassReverse "/proxyLand" "http://localhost:1234/otherProxyLand";
+       end;
+end;