X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/8a7c40fa29ff18a437fcf4ee3f248a7aeb41c19c..edd380241e9ba2b750eb9a1f82ffd6feeab6252f:/lib/apache.dtl diff --git a/lib/apache.dtl b/lib/apache.dtl index 3b41927..9e70f74 100644 --- a/lib/apache.dtl +++ b/lib/apache.dtl @@ -10,3 +10,21 @@ extern val vhost : host -> Vhost => [Domain] Group : your_group, DocumentRoot : your_path, ServerAdmin : email}; +{{Add a new named Apache virtual host, specifying which nodes' Apache servers + should answer requests for this host, whether it should use SSL, what UNIX + user and group dynamic content generators should be run as, the filesystem + path to the static content root, and the e-mail address to which error pages + should direct visitors.}} + +context Location; + +extern type location; +{{A valid URI prefix}} + +extern val location : location -> ^Vhost & Location => [Vhost & !Location]; +extern val directory : your_path -> ^Vhost & Location => [Vhost & !Location]; +{{Set some configuration specific to a URI prefix or filesystem directory, + respectively.}} + +extern val serverAlias : your_domain_host -> [Vhost]; +{{Give an alternate hostname for this vhost.}}