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 standalo
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 (like
"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
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 "ErrorD
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 Schr
"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 b
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]
-
result for every web application?
>
>Thanks.
>Roberto.
>
>- Original Message -
>From: "Chris Birch" <[EMAIL PROTECTED]>
>To: "Tomcat Users List"
>Sent: Saturday, October 22, 2005 12:59 PM
>Subject: Re: Custom error page when ...
>
>
Ok.. but if I make this change in web.xml in folder /conf of Tomcat I get
the same result for every web application?
Thanks.
Roberto.
- Original Message -
From: "Chris Birch" <[EMAIL PROTECTED]>
To: "Tomcat Users List"
Sent: Saturday, October 22, 2005 12:59 PM
You can add pages for HTTP response codes to you web.xml file for each
web application you deploy within Tomcat.
Add the following to your web.xml file after and
before declarations:
404
/pages/error.jsp
Regards,
Chris.
On 22 Oct 2005, at
10 matches
Mail list logo