httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chintan Kachhi <chintankac...@gmail.com>
Subject Re: [users@httpd] Re: How to see/use the response when the apache server is down.
Date Thu, 09 Jul 2009 15:23:17 GMT
Ok.. here's the thing:

I am having a issue, where the following happens: I am using IBM http server
as my front end server, and WebSphere as my application server.

I am trying to configure httpserver config file (httpd.conf) to display a
certain page when my application
server is down - but that is not working. ( that is I have my http server
running, but the actual app server is stopped). I tried setting the
errorDocument directive within the httpd.conf file of the HTTP server to
display some custom string text in case of 500, 501, 502 or 503 errors, but
it does not show any of the error messages. Instead, when I try to hit a
service on the app server, it shows something as follows:


Failed to Connect

Firefox can't establish a connection to the server at localhost:9080.


Though the site seems valid, the browser was unable to establish a
connection.

    * Could the site be temporarily unavailable? Try again later.
    * Are you unable to browse other sites?  Check the computer's network
connection.
    * Is your computer or network protected by a firewall or proxy?
Incorrect settings can interfere with Web browsing.


I want the custom error message that I put in the httpd.conf to show when a
user tries to hit the service on the appserver and the application server is
down.

There is a plugins.xml file that comes with the Websphere install that links
the app server and the http server, so I am expecting that the 500 or so
error should be getting communicated to the http server which should then be
able to show the  custom error message. I am not sure why that is not
happening?


On Mon, Jul 6, 2009 at 9:11 PM, Eric Covener <covener@gmail.com> wrote:

> On Mon, Jul 6, 2009 at 6:05 PM, Chintan Kachhi<chintankachhi@gmail.com>
> wrote:
> > All the person would
> > then have to do is to load the module, which would have the rewrite
> engine
> > turned on.. and boom, it would work.
>
> Why would someone ever use the module if ErrorDocument is there?
>
> --
> Eric Covener
> covener@gmail.com
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message