tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38239] New: - Tomcat 5.5.x - Custom error page for error code 401 ignored
Date Thu, 12 Jan 2006 15:30:05 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=38239>.
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=38239

           Summary: Tomcat 5.5.x - Custom error page for error code 401
                    ignored
           Product: Tomcat 5
           Version: Unknown
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Unknown
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: bjarnij-apachebug@bthj.is


I'm reposting bug: 36388
Because there has been no activity on that bug since it was submitted [2005-08-26].

I'm using Tomcat 5.5.X and BASIC authentication and I'm unable to give webusers
"pretty" message when they fail to login.
Tomcat 5.5.x seems to completely ignore custom error pages for
error code 401 - although error pages for other error codes seem to work fine.

It was possible to have custom error page for error code 401 in Tomcat 5.0.X and
4. It did required a workaround, the custom error page had to have a code
similar to this:
<%
	response.setStatus(response.SC_UNAUTHORIZED);
	response.setHeader("WWW-Authenticate", "BASIC realm=\"asdf\""); 
%>
...but still it was possible.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message