ServerAlias
[hcoop/domtool2.git] / lib / apache.dtl
CommitLineData
8a7c40fa
AC
1{{Apache web server configuration}}
2
3context Vhost;
4{{A WWW virtual host}}
5
6extern val vhost : host -> Vhost => [Domain]
7 {WebNodes : [node],
8 SSL : bool,
9 User : your_user,
10 Group : your_group,
11 DocumentRoot : your_path,
12 ServerAdmin : email};
f8dfbbcc
AC
13{{Add a new named Apache virtual host, specifying which nodes' Apache servers
14 should answer requests for this host, whether it should use SSL, what UNIX
15 user and group dynamic content generators should be run as, the filesystem
16 path to the static content root, and the e-mail address to which error pages
17 should direct visitors.}}
2882ee37
AC
18
19context Location;
20
21extern type location;
22{{A valid URI prefix}}
23
24extern val location : location -> ^Vhost & Location => [Vhost & !Location];
25extern val directory : your_path -> ^Vhost & Location => [Vhost & !Location];
26{{Set some configuration specific to a URI prefix or filesystem directory,
27 respectively.}}
edd38024
AC
28
29extern val serverAlias : your_domain_host -> [Vhost];
30{{Give an alternate hostname for this vhost.}}