X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/f8dfbbcc29a40de94580697e610db6254b85f0fb..690a19c371be6f841138d907662e8fc1ebc958c7:/lib/mod_rewrite.dtl diff --git a/lib/mod_rewrite.dtl b/lib/mod_rewrite.dtl index 7097ec5..71ced0e 100644 --- a/lib/mod_rewrite.dtl +++ b/lib/mod_rewrite.dtl @@ -39,13 +39,37 @@ extern val redirectWith : redirect_code -> mod_rewrite_flag; extern val skip : int -> mod_rewrite_flag; extern val env : rewrite_arg -> rewrite_arg -> mod_rewrite_flag; -extern val rewriteRule : no_spaces -> no_spaces -> [mod_rewrite_flag] -> [Vhost]; +extern type mod_rewrite_cond_flag; +{{See the + Apache documentation for information on what these flags mean.}} + +extern val cond_nocase : mod_rewrite_cond_flag; +extern val ornext : mod_rewrite_cond_flag; + +extern type regexp; +{{PCRE regular expression}} + +extern val rewriteRule : regexp -> no_spaces -> [mod_rewrite_flag] -> [^Vhost]; {{See Apache documentation for RewriteRule.}} -extern val localProxyRewrite : no_spaces -> no_spaces -> proxy_port -> [Vhost]; +extern val rewriteCond : no_spaces -> regexp -> [mod_rewrite_cond_flag] -> [^Vhost]; +{{See Apache + documentation for RewriteCond.}} + +extern val rewriteBase : no_spaces -> [Location]; +{{See Apache + documentation for RewriteBase.}} + +extern type proxy_port; +{{A port number above 1024}} + +extern val localProxyRewrite : no_spaces -> no_spaces -> proxy_port -> [^Vhost]; {{All requests matching the regular expression in the first argument are redirected to another HTTPD running on localhost at the given port, generating the new URI by substituting variables in the second argument as per Apache mod_rewrite.}} +extern val rewriteLogLevel : int -> [Vhost]; +{{See Apache + documentation for RewriteLogLevel.}}