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

           Summary: Error message discloses the URI redirect target
           Product: Apache httpd-2
           Version: 2.2.6
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: mod_access
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


I have a pass-thru rewrite rule that redirects URI to a JSP page:

RewriteRule /my/request/uri /my/target/jsp/script.jsp [PT,NC,L]

When access to this URI is blocked with error 406 (based on User-Agent, in this
case), the error message is:

"Not Acceptable

An appropriate representation of the requested resource
/my/target/jsp/script.jsp could not be found on this server."

I would think that mentioning a rewrite target discloses too much information.
Should not the error message mention the request URI (/my/request/uri) only?
After all the error messages are more of status messages for end-susers, not
debugging messages for webmasters.

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to