Does that mean there is no way to do this? Maybe using rewrite module which looks for the response and redirects it to a custom error page based on the response? I think I came across a post where you mentioned something about using modules look ahead feature. Is that possible?
On Fri, Jul 10, 2009 at 11:46 AM, Eric Covener <cove...@gmail.com> wrote: > On Fri, Jul 10, 2009 at 12:39 PM, Chintan Kachhi<chintankac...@gmail.com> > wrote: > > Thanks for the response... I looked through my httpd.conf file and found > > that the WebSpherePluginConfig was pointing to the wrong plugin directory > ( > > the person who had originally installed WAS had forgotten to update the > file > > to point it to the right directory). I regenerated and propagated the > > plugin, and now it shows the correct error page, when the app server is > > down. Now I get back to my main problem which I originally had... So now, > my > > IBM HTTP Server is running, my WebSphere application server is running, > but > > I take down one of the services in the app server. When I try to hit the > > service from the url, it does not return my custom error message... > instead > > returns something like: > > > > > > SRVE0255E: A WebGroup/Virtual Host to handle /service1 has not been > defined. > > > > SRVE0255E: A WebGroup/Virtual Host to handle localhost:80 has not been > > defined. > > > > IBM WebSphere Application Server > > > > ( where service1 is the service that I take down.) > > > > I looked at the http status codes returned through the live http headers > and > > it seems like it returns 404 Not Found... > > > > But then I am not sure why it is not redirecting it to my custom error > page, > > because I already have an errordocument directive for 404 error in my > > httpd.conf file. > > You can't override the error response when it's generated by the > application server (as opposed to generated by the websphere plugin) > > -- > Eric Covener > cove...@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-unsubscr...@httpd.apache.org > " from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > >