X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/94b7b11acaf25eadda183ff48cf2cf497e8aef58..421df4d714870f2aa1f54944c29884730973d098:/lib/mod_rewrite.dtl diff --git a/lib/mod_rewrite.dtl b/lib/mod_rewrite.dtl index 877e1c4..71ced0e 100644 --- a/lib/mod_rewrite.dtl +++ b/lib/mod_rewrite.dtl @@ -46,15 +46,18 @@ extern type mod_rewrite_cond_flag; extern val cond_nocase : mod_rewrite_cond_flag; extern val ornext : mod_rewrite_cond_flag; -extern val rewriteRule : no_spaces -> no_spaces -> [mod_rewrite_flag] -> [^Vhost]; +extern type regexp; +{{PCRE regular expression}} + +extern val rewriteRule : regexp -> no_spaces -> [mod_rewrite_flag] -> [^Vhost]; {{See Apache documentation for RewriteRule.}} -extern val rewriteCond : no_spaces -> no_spaces -> [mod_rewrite_cond_flag] -> [^Vhost]; +extern val rewriteCond : no_spaces -> regexp -> [mod_rewrite_cond_flag] -> [^Vhost]; {{See Apache documentation for RewriteCond.}} -extern val rewriteBase : no_spaces -> [^Vhost]; +extern val rewriteBase : no_spaces -> [Location]; {{See Apache documentation for RewriteBase.}}