X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/f8dfbbcc29a40de94580697e610db6254b85f0fb..3196000d8e29e14665f43ffd74460b2e6d592250:/lib/apache.dtl diff --git a/lib/apache.dtl b/lib/apache.dtl index 43dd928..9b88bd3 100644 --- a/lib/apache.dtl +++ b/lib/apache.dtl @@ -15,3 +15,16 @@ extern val vhost : host -> Vhost => [Domain] 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.}}