[GitHub] [tomcat] markt-asf commented on pull request #506: Adding Redirect and Proxy Error Reporting Valves

2022-05-11 Thread GitBox
markt-asf commented on PR #506: URL: https://github.com/apache/tomcat/pull/506#issuecomment-1124287597 This would be per web application but if you put the following in web.xml ``` /WEB-INF/default-error-handler.jsp ``` you should get close to what you need. That page ca

[GitHub] [tomcat] markt-asf commented on pull request #506: Adding Redirect and Proxy Error Reporting Valves

2022-05-11 Thread GitBox
markt-asf commented on PR #506: URL: https://github.com/apache/tomcat/pull/506#issuecomment-1124090754 This feels more like a custom ErrorReportValve rather than something that would ship with Tomcat. I do agree with Chris that a lot (all?) of this functionality could be achieved with the e

[GitHub] [tomcat] markt-asf commented on pull request #506: Adding Redirect and Proxy Error Reporting Valves

2022-05-06 Thread GitBox
markt-asf commented on PR #506: URL: https://github.com/apache/tomcat/pull/506#issuecomment-1119738823 Writing an HTTP proxy is non-trivial. I am going to need a LOT of convincing that the proxy Valve is both safe and compliant with the relevant RFCs. -- This is an automated message from