You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by nd...@apache.org on 2004/10/15 22:58:16 UTC
cvs commit: httpd-2.0/docs/manual/mod mod_rewrite.xml
nd 2004/10/15 13:58:16
Modified: docs/manual/mod mod_rewrite.xml
Log:
maxredirects no longer exists
Revision Changes Path
1.29 +3 -14 httpd-2.0/docs/manual/mod/mod_rewrite.xml
Index: mod_rewrite.xml
===================================================================
RCS file: /home/cvs/httpd-2.0/docs/manual/mod/mod_rewrite.xml,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -u -r1.28 -r1.29
--- mod_rewrite.xml 12 Aug 2004 15:50:57 -0000 1.28
+++ mod_rewrite.xml 15 Oct 2004 20:58:16 -0000 1.29
@@ -327,18 +327,16 @@
<name>RewriteOptions</name>
<description>Sets some special options for the rewrite engine</description>
<syntax>RewriteOptions <var>Options</var></syntax>
-<default>RewriteOptions MaxRedirects=10</default>
<contextlist><context>server config</context><context>virtual host</context>
<context>directory</context><context>.htaccess</context></contextlist>
<override>FileInfo</override>
-<compatibility><code>MaxRedirects</code> is available in Apache 2.0.45 and
+<compatibility><code>MaxRedirects</code> is no longer available in version 2.1 and
later</compatibility>
<usage>
<p>The <directive>RewriteOptions</directive> directive sets some
special options for the current per-server or per-directory
- configuration. The <em>Option</em> strings can be one of the
- following:</p>
+ configuration. The <em>Option</em> string can be currently only one:</p>
<dl>
<dt><code>inherit</code></dt>
@@ -348,15 +346,6 @@
server are inherited. In per-directory context this means
that conditions and rules of the parent directory's
<code>.htaccess</code> configuration are inherited.</dd>
-
- <dt><code>MaxRedirects=<var>number</var></code></dt>
- <dd>In order to prevent endless loops of internal redirects
- issued by per-directory <directive module="mod_rewrite"
- >RewriteRule</directive>s, <module>mod_rewrite</module> aborts
- the request after reaching a maximum number of such redirects and
- responds with an 500 Internal Server Error. If you really need
- more internal redirects than 10 per request, you may increase
- the default to the desired value.</dd>
</dl>
</usage>