hcoop: add busted as admin dns and mail node
[hcoop/domtool2.git] / tests / domain.dtl
... / ...
CommitLineData
1extern val domain : string -> Domain => [Root];
2
3extern val host : string -> string -> [Domain];
4
5extern val vhost : string -> Vhost => [Domain] {DocRoot : string};
6
7extern val directory : string -> ^Vhost & Directory => [Vhost];
8
9extern val ssi : [^Vhost];
10extern val fancy : [Directory];
11extern val risky : [Vhost];
12
13domain "hcoop.net" with
14 host "frumpkin" "1.2.3.4";
15 host "bumpkin" "1.2.3.5";
16
17 vhost "www" where
18 DocRoot = "/home/boopie"
19 with
20 risky
21 end;
22
23 DocRoot = "/etc/default";
24
25 vhost "smelly" with
26 directory "/etc/default/here" with
27 ssi;
28 fancy
29 end;
30 ssi
31 end;
32
33 vhost "rank" with
34 ssi
35 end
36end