X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/fdf9a42df2892bae989ec2d47d5c22817dec7271..63ac3b82c1cd33605e62688cd97688a6dae3cb9c:/lib/mod_rewrite.dtl diff --git a/lib/mod_rewrite.dtl b/lib/mod_rewrite.dtl index 2e29877..71ced0e 100644 --- a/lib/mod_rewrite.dtl +++ b/lib/mod_rewrite.dtl @@ -46,11 +46,14 @@ 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.}}