Custom Error page when Tomcat is down?

2006-07-24 Thread Eric B.
Hi, I've been scouring the docs newsgroups for the last hour or so, and have been unable to find a solution to my problem. Currently, I have tomcat being access through the Apache httpd server, configured via the jk_mod connector/module. My problem is I have to sometimes stop the tomcat

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Hassan Schroeder
On 7/24/06, Eric B. [EMAIL PROTECTED] wrote: Is there any way I can customize that error page to say/show something different? See the Apache doc for ErrorDocument -- Hassan Schroeder [EMAIL PROTECTED]

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Eric B.
Hassan Schroeder [EMAIL PROTECTED] wrote in message Is there any way I can customize that error page to say/show something different? See the Apache doc for ErrorDocument Thanks for the pointer, but the problem that I see is that Apache is returning the status code 200 to the browser.

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Hassan Schroeder
On 7/24/06, Eric B. [EMAIL PROTECTED] wrote: Thanks for the pointer, but the problem that I see is that Apache is returning the status code 200 to the browser. If Apache is generating an internal server error as you indicated, it should be returning a 5xx status, I'd think. -- Hassan

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Christopher Schultz
Eric, I've been scouring the docs newsgroups for the last hour or so, and have been unable to find a solution to my problem. Currently, I have tomcat being access through the Apache httpd server, configured via the jk_mod connector/module. I have the same setup, and just use

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Eric B.
Hassan Schroeder [EMAIL PROTECTED] wrote in message On 7/24/06, Eric B. [EMAIL PROTECTED] wrote: Thanks for the pointer, but the problem that I see is that Apache is returning the status code 200 to the browser. If Apache is generating an internal server error as you indicated, it should be

Subject: Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Edmon Begoli
If you are using Apache to Tomcat try using mod_security module to accomplish this. Mod security has setting for hiding the server error output: http://www.modsecurity.org/documentation/modsecurity-apache/1.9.3/modsecurity-manual.html#N1057D as well as purposly missrepresenting the Apache

Re: Custom Error page when Tomcat is down?

2006-07-24 Thread Hassan Schroeder
On 7/24/06, Eric B. [EMAIL PROTECTED] wrote: If Apache is generating an internal server error as you indicated, it should be returning a 5xx status, I'd think. I'd think so too. But I put in ErrorDocument 500 directives, and got nothing out of it. OK, simplest test: I took a standalone