• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Failover page in Sun One Web server

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

Can some one please guide me so that I can set up a failover page for my application which is hosted on Sun One Web Server. It is linked with one of the virtual servers.

Most of the time, if something goes wrong, we get one of the following HTTP response codes :
401 Unauthorized.
403 Forbidden.
404 Not Found.
500 Server Error.

I tried capturing the file not found error code - 404 by making changes in obj.conf, but it didnt work.
The code snippet that i used is as follows:
Error fn="send-error" code="404" path="/xyz/abc/test.html"

Let me know if there is something wrong here, or some other approach is required.

Thanks,
Ankit
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic