d68ab27c |
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}; |
697d1a52 |
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.}} |
ff2a424a |
18 | |
19 | context Location; |
20 | |
21 | extern type location; |
22 | {{A valid URI prefix}} |
23 | |
24 | extern val location : location -> ^Vhost & Location => [Vhost & !Location]; |
25 | extern val directory : your_path -> ^Vhost & Location => [Vhost & !Location]; |
26 | {{Set some configuration specific to a URI prefix or filesystem directory, |
27 | respectively.}} |