Commit | Line | Data |
---|---|---|
8a7c40fa AC |
1 | {{Apache web server configuration}} |
2 | ||
3 | context Vhost; | |
4 | {{A WWW virtual host}} | |
5 | ||
6 | extern 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 | |
19 | context Location; | |
20 | ||
21 | extern type location; | |
22 | {{A valid URI prefix}} | |
23 | ||
3196000d | 24 | extern val location : location -> Vhost & Location => [Vhost & !Location]; |
2882ee37 AC |
25 | extern 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 | |
29 | extern val serverAlias : your_domain_host -> [Vhost]; | |
30 | {{Give an alternate hostname for this vhost.}} |