X-Git-Url: https://git.hcoop.net/hcoop/domtool2.git/blobdiff_plain/fdf9a42df2892bae989ec2d47d5c22817dec7271..ed57989d1c1d6cb9b675fdf18fb877b25b9fca5a:/lib/mod_rewrite.dtl
diff --git a/lib/mod_rewrite.dtl b/lib/mod_rewrite.dtl
index 2e29877..c41105d 100644
--- a/lib/mod_rewrite.dtl
+++ b/lib/mod_rewrite.dtl
@@ -13,6 +13,8 @@ extern val redir303 : redirect_code;
extern val redir304 : redirect_code;
extern val redir305 : redirect_code;
extern val redir307 : redirect_code;
+extern val notfound : redirect_code;
+{{Return 404 Not Found}}
extern type rewrite_arg;
{{Some mod_rewrite flags take arguments.
@@ -20,7 +22,7 @@ extern type rewrite_arg;
arguments, which excludes commas and some other characters.}}
extern type mod_rewrite_flag;
-{{See the
+{{See the
Apache documentation for information on what these flags mean.}}
extern val redirect : mod_rewrite_flag;
@@ -40,22 +42,22 @@ extern val skip : int -> mod_rewrite_flag;
extern val env : rewrite_arg -> rewrite_arg -> mod_rewrite_flag;
extern type mod_rewrite_cond_flag;
-{{See the
+{{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 val rewriteRule : no_spaces -> no_spaces -> [mod_rewrite_flag] -> [^Vhost];
-{{See Apache
+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];
-{{See Apache
+extern val rewriteCond : no_spaces -> regexp -> [mod_rewrite_cond_flag] -> [^Vhost];
+{{See Apache
documentation for RewriteCond.}}
extern val rewriteBase : no_spaces -> [Location];
-{{See Apache
+{{See Apache
documentation for RewriteBase.}}
extern type proxy_port;
@@ -68,5 +70,5 @@ extern val localProxyRewrite : no_spaces -> no_spaces -> proxy_port -> [^Vhost];
mod_rewrite.}}
extern val rewriteLogLevel : int -> [Vhost];
-{{See Apache
+{{See Apache
documentation for RewriteLogLevel.}}