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=42355>. 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=42355 Summary: mod_jk in Apache 2.x always returns HTTP error code 500 instead of custom ones Product: Apache httpd-2 Version: 2.2.4 Platform: PC OS/Version: Linux Status: NEW Severity: major Priority: P2 Component: Other Modules AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] We have tomcat4 applications and we use the jk connector. The applications return custom 6xx HTTP error codes but it's not handled correctly with Apache 2.x and mod_jk combo. Initially the problem was noticed on the distro (Debian) supplied apache 2.2.3 and mod_jk 1.2.18. I tried with apache 2.2.4 and 2.0.59 using jk 1.2.22 and 1.2.21 but the problem still exists. It works correctly with apache 1.3 and all versions of mod_jk. Another thing is that it was working with correctly with apache 2.0 and mod_jk2 (yes, jk2 that was dropped) before we upgraded (from Debian 3.1 to 4.0), so this clearly seems to be a problem with the apache 2.x version of mod_jk. Here's an incorrect response: ------------------------------- HTTP/1.1 500 Internal Server Error Date: Mon, 07 May 2007 14:13:32 GMT Server: Apache/2.2.3 (Debian) mod_jk/1.2.18 Content-Language: en-US Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html;charset=ISO-8859-1 2b2 <html><head><title>Apache Tomcat/4.1.36 - Error report</title><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --></STYLE> </head><body><h1>HTTP Status 608 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>Cannot find message associated with key http.608</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/4.1.36</h3></body></html> 0 ------------------------------- And here's a correct response: ------------------------------- HTTP/1.1 614 Date: Tue, 08 May 2007 15:24:02 GMT Server: Apache/1.3.34 (Debian) mod_jk/1.2.18 Set-Cookie: JSESSIONID=A91C095EA65317F60FB67D711D6ECC86; Path=/Services Content-Language: en-US Keep-Alive: timeout=15, max=100 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html;charset=ISO-8859-1 2b2 <html><head><title>Apache Tomcat/4.1.36 - Error report</title><STYLE><!--H1{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} H3{font-family : sans-serif,Arial,Tahoma;color : white;background-color : #0086b2;} BODY{font-family : sans-serif,Arial,Tahoma;color : black;background-color : white;} B{color : white;background-color : #0086b2;} HR{color : #0086b2;} --></STYLE> </head><body><h1>HTTP Status 614 - </h1><HR size="1" noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b> <u></u></p><p><b>description</b> <u>Cannot find message associated with key http.614</u></p><HR size="1" noshade="noshade"><h3>Apache Tomcat/4.1.36</h3></body></html> ------------------------------- -- 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]
