httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 40598] - RewriteOptions MaxRedirects doesn't work for self-looping RewriteRules
Date Mon, 25 Sep 2006 10:42:49 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40598>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40598


bobsiegen@googlemail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|mod_rewrite                 |mod_rewrite
            Product|Apache httpd-1.3            |Apache httpd-2
            Version|HEAD                        |2.3-HEAD




------- Additional Comments From bobsiegen@googlemail.com  2006-09-25 10:42 -------
Your described issue is a dup of bug 38642 caused by continuesly adding of
path-info in each round. This problem does not exist in per-server context.

MaxRedirects - as it sais - limits internal redirects.

You won't have the problem with

RewriteRule ^(openholidayguide),([^_/]+)__([^,/]+)([^./]*)(\.html)?$ $1$4?$2=$3
[NC,QSA,N]
RewriteRule ^(openholidayguide)$ /$1.php [NC,L]

but your request will fail this regex (but anyway the logic of the rewriting is
better, because you're rewriting into the queryString, separated from the
filename, so the length of the filename will decrease).

A rush fix can be found here:
http://www.modrewrite.de/foren/ftopic2107.html#10478 but since I didn't had much
time, it's an ugly one using r->notes.

Yes, this issue still exists in trunk.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message