You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2007/11/01 01:56:38 UTC

DO NOT REPLY [Bug 43762] New: - Misleading tips in an error message about internal redirects

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=43762>.
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=43762

           Summary: Misleading tips in an error message about internal
                    redirects
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P4
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: issues.apache.org@demomusic.nu


When facing a rewrite loop condition problem, the following error message is
printed to the error log:
[Thu Nov 01 01:01:01 2007] [error] [client 00.000.000.00] Request exceeded the
limit of 10 internal redirects due to probable configuration error. Use
'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel
debug' to get a backtrace.

It is not evident at all that this is due to a rewrite loop condition, especiall
when enabling LogLevel debug won't produce any "backtrace" as claimed. This is
very misleading. 

A notice level log entry about this is being caused by a rewrite loop condition
(debugged using the RewriteLog directive) would be in place - or some mentioning
of this in the original error message information would be even clearer, for
instance: "Use 'RewriteLog' to debug misconfigured rewrite rules".

-- 
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


DO NOT REPLY [Bug 43762] - Misleading tips in an error message about internal redirects

Posted by bu...@apache.org.
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=43762>.
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=43762





------- Additional Comments From issues.apache.org@demomusic.nu  2007-10-31 18:15 -------
As a user on IRC commented, maybe it's better to simply change:

"Use 'LogLevel debug' to get a backtrace."
 to 
"Use 'RewriteLog' together with a high value of 'RewriteLogLevel' to debug
misconfigured mod_rewrite rules"

The basis for this bug report is btw that this message is caused by mod_rewrite
in almost all cases and that the mentioned backtrace actually doesn't exist. All
according to the very same IRC user. ("thumbs" in #apache@irc.freenode.net)

-- 
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


DO NOT REPLY [Bug 43762] - Misleading tips in an error message about internal redirects

Posted by bu...@apache.org.
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=43762>.
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=43762





------- Additional Comments From slive@apache.org  2007-11-12 06:56 -------
There are several ways other than mod_rewrite to generate recursive internal
redirects, so your suggested error message doesn't work.

-- 
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