]> granicus.if.org Git - apache/commit
Prevent endless loops of internal redirects in mod_rewrite by
authorAndre Malo <nd@apache.org>
Sat, 1 Mar 2003 18:35:50 +0000 (18:35 +0000)
committerAndre Malo <nd@apache.org>
Sat, 1 Mar 2003 18:35:50 +0000 (18:35 +0000)
commit70285cc6a1514d0a638bcc33112d8d76f1b7399a
treed3eb5c3de7041730dd8d97aa79438430b4ac68b8
parent35397d620cd637a8c9641d794bea5cb61c6972f8
Prevent endless loops of internal redirects in mod_rewrite by
aborting after exceeding a limit of internal redirects. The
limit defaults to 10 and can be changed using the RewriteOptions
directive with the new MaxRedirects=n argument.
(The latter required some restructuring of the RewriteOptions
 evaluation code).

(Documentation patch follows asap)

PR: 17462

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98863 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/mappers/mod_rewrite.c
modules/mappers/mod_rewrite.h