HCoop
/
hcoop
/
domtool2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add 404 to possible redirect codes in mod_rewrite
[hcoop/domtool2.git]
/
lib
/
mod_rewrite.dtl
diff --git
a/lib/mod_rewrite.dtl
b/lib/mod_rewrite.dtl
index
c0b939c
..
8c1a11d
100644
(file)
--- a/
lib/mod_rewrite.dtl
+++ b/
lib/mod_rewrite.dtl
@@
-20,7
+20,7
@@
extern type rewrite_arg;
arguments, which excludes commas and some other characters.}}
extern type mod_rewrite_flag;
arguments, which excludes commas and some other characters.}}
extern type mod_rewrite_flag;
-{{See <a href="http://httpd.apache.org/docs/2.
0
/mod/mod_rewrite.html#rewriterule">the
+{{See <a href="http://httpd.apache.org/docs/2.
2
/mod/mod_rewrite.html#rewriterule">the
Apache documentation</a> for information on what these flags mean.}}
extern val redirect : mod_rewrite_flag;
Apache documentation</a> for information on what these flags mean.}}
extern val redirect : mod_rewrite_flag;
@@
-40,20
+40,24
@@
extern val skip : int -> mod_rewrite_flag;
extern val env : rewrite_arg -> rewrite_arg -> mod_rewrite_flag;
extern type mod_rewrite_cond_flag;
extern val env : rewrite_arg -> rewrite_arg -> mod_rewrite_flag;
extern type mod_rewrite_cond_flag;
-{{See <a href="http://httpd.apache.org/docs/2.
0
/mod/mod_rewrite.html#rewritecond">the
+{{See <a href="http://httpd.apache.org/docs/2.
2
/mod/mod_rewrite.html#rewritecond">the
Apache documentation</a> for information on what these flags mean.}}
extern val cond_nocase : mod_rewrite_cond_flag;
extern val ornext : mod_rewrite_cond_flag;
Apache documentation</a> 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 <a href="http://httpd.apache.org/docs/2.
0
/mod/mod_rewrite.html#rewriterule">Apache
+extern val rewriteRule :
regexp
-> no_spaces -> [mod_rewrite_flag] -> [^Vhost];
+{{See <a href="http://httpd.apache.org/docs/2.
2
/mod/mod_rewrite.html#rewriterule">Apache
documentation for <tt>RewriteRule</tt></a>.}}
documentation for <tt>RewriteRule</tt></a>.}}
-extern val rewriteCond
: no_spaces -> no_spaces
-> [mod_rewrite_cond_flag] -> [^Vhost];
-{{See <a href="http://httpd.apache.org/docs/2.
0
/mod/mod_rewrite.html#rewritecond">Apache
+extern val rewriteCond
: no_spaces -> regexp
-> [mod_rewrite_cond_flag] -> [^Vhost];
+{{See <a href="http://httpd.apache.org/docs/2.
2
/mod/mod_rewrite.html#rewritecond">Apache
documentation for <tt>RewriteCond</tt></a>.}}
documentation for <tt>RewriteCond</tt></a>.}}
+extern val rewriteBase : no_spaces -> [Location];
+{{See <a href="http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritebase">Apache
+ documentation for <tt>RewriteBase</tt></a>.}}
+
extern type proxy_port;
{{A port number above 1024}}
extern type proxy_port;
{{A port number above 1024}}
@@
-63,3
+67,6
@@
extern val localProxyRewrite : no_spaces -> no_spaces -> proxy_port -> [^Vhost];
the new URI by substituting variables in the second argument as per Apache
mod_rewrite.}}
the new URI by substituting variables in the second argument as per Apache
mod_rewrite.}}
+extern val rewriteLogLevel : int -> [Vhost];
+{{See <a href="http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewriteloglevel">Apache
+ documentation for <tt>RewriteLogLevel</tt></a>.}}