X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/e7482df3346f6976f62e3f7e07afbcf419f7411a..ef5ad69ab6c5c1d749591a6955dad38d783ac0a4:/lib/apache.dtl diff --git a/lib/apache.dtl b/lib/apache.dtl index ebfbeb4..98dca55 100644 --- a/lib/apache.dtl +++ b/lib/apache.dtl @@ -26,6 +26,9 @@ For others, it has only one value, [true].}} extern type ssl_cert_path; {{Filesystem path to an SSL certificate in your 'cert' list}} +extern type ssl_cacert_path; +{{Filesystem path to an intermediate CA certificate in your 'cacert' list}} + extern type ssl; extern val no_ssl : ssl; extern val use_cert : ssl_cert_path -> ssl; @@ -71,6 +74,12 @@ extern val directory : your_path -> ^Vhost & Location => [Vhost & !Location]; {{Set some configuration specific to a URI prefix or filesystem directory, respectively.}} +extern type regexp; +{{PCRE regular expression}} + +extern val filesMatch : regexp -> ^Vhost & Location => [Vhost & !Location]; +{{Mark nested configuration to only apply to filenames matching the regexp.}} + extern val serverAliasHost : your_domain_host -> [Vhost]; {{Give an alternate hostname for this vhost.}} extern val serverAlias : host -> [Vhost]; @@ -79,3 +88,9 @@ extern val serverAlias : host -> [Vhost]; extern val serverAliasDefault : [Vhost]; {{Like serverAliasDefault, but adds aliases for the domains being configured instead of any of their hosts/"subdomains".}} + +extern val testNoHtaccess : [Location]; + +extern val sslCertificateChainFile : ssl_cacert_path -> [Vhost]; +{{Intermediate file to serve as part of the chain of authority for + your ssl certificate}} \ No newline at end of file