| Author |
want to "catch" error code 404 pages
|
|
| Landmark 2004-03-22, 8:03 am |
| Hy,
our Apache web server includes our application server WAS 5.1 via IBM plug-in. Therefore we get a "nice" error 404 error page from websphere if an application is down.
Is there a way to configure the plug-in or WAS to deliver an own error.html page instead?
Imagine this request "/appName/anUri" - Application "appName" is down and websphere delivers a ugly html error page.
Thanx | |
| glunix 2004-04-08, 3:33 am |
| I'am not sure about this, but try to supply static content in the
httpd-DocumentRoot. This content must match the request, which is
normally served by the plugin, depending on how your application is
called. Probably you need a couple of Redirects in the httpd.conf to
your Errorpage.
--
posted via MFF : http://www.MainFrameForum.com - USENET Gateway
| |
| krishnakyadla 2004-10-27, 6:38 am |
| IDid you find a solution for this, b'coz I am also in the same situation where I want to get rid of the WebSphere error message. I didnt find any information useful for me. Please guide me in this problem and whats the final solution you found out for this.
Thanks. | |
| Sunit Patke 2004-10-27, 5:55 pm |
| In Apache the standard was of displaying nice 404 page is this directive:
ErrorDocument 404 /sitedown_404.html
See your httpd.conf file or Apache documentation.
PS: If the application is down you should get a 500 error code and not 404.
Sunit
"krishnakyadla" <krishnakyadla.1escif@mail.webservertalk.com> wrote in
message news:krishnakyadla.1escif@mail.webservertalk.com...
>
> IDid you find a solution for this, b'coz I am also in the same situation
> where I want to get rid of the WebSphere error message. I didnt find any
> information useful for me. Please guide me in this problem and whats the
> final solution you found out for this.
>
> Thanks.
>
>
>
> --
> krishnakyadla
> ------------------------------------------------------------------------
> Posted via http://www.webservertalk.com
> ------------------------------------------------------------------------
> View this thread: http://www.webservertalk.com/message158761.html
>
|
|
|
|