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

           Summary: [PATCH] error page redirection for JK/ISAPI on service
                    fail
           Product: Tomcat 5
           Version: 5.5.9
          Platform: Other
        OS/Version: Windows Server 2003
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Native:JK
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


When a service fails in the ISAPI ExtensionProc, IIS just drops the connection.
The behaviour then differs between browsers - IE shows a generic 'Unable to
connect to server' page, Firefox displays a blank window.

It is desirable for many of our clients to be able to tell the user what is
going on, and point them in the direction of technical support.

This patch adds the ability to configure an error page to use when the endpoint
service in ExtensionProc fails.

The error page is a URL (absolute or relative) that is sent as a 302 to the
client when the service fails.

Contents of the patch:
 - Added a new optional error_page configuration property for the ISAPI 
redirector
 - Added a buffer for the page URL and a pointer that serves as a flag (i.e. if
it's NULL there is no error page, otherwise it points to the buffer)
 - Modified ExtensionProc to send the redirect on service failure

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