Service Unavailable Message

Forums for specific tips, techniques and example code
ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Service Unavailable Message

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:35 pm

by Stephen Persson >> Sun, 19 Aug 2001 22:48:00 GMT

Hi,
When a Jade web server is not running anyone trying to browse the site gets the "Service Unavailable" message, does anyone know how to customise this to something a little more helpful, so first time visitors don't think your site is broken and never come back - "the server is temporarily closed for maintenance..." (or something similar that isn't so severe).
IIS lets you customise error messages but the Service Unavailable message isn't one of the ones in the list that is customisable.
Is there a way - how are other people handling this?

Thanks
Stephen Persson
Kinetix Group Ltd

ConvertFromOldNGs
Posts: 5321
Joined: Wed Aug 05, 2009 5:19 pm

Re: Service Unavailable Message

Postby ConvertFromOldNGs » Fri Aug 07, 2009 2:35 pm

by Darrell Duniam >> Sun, 19 Aug 2001 23:16:40 GMT

Stephen,

If you place an HTML file (i.e. a static page) that has the same name as the JADE HTTP library in the same directory, then the HTTP library will return that page to the browser if it can't connect to a JADE database.

For example:

d:\jade\public\jadehttp.dll
d:\jade\public\jadehttp.htm

darrell.

"Stephen Persson" <stephenp@kinetix.co.nz> wrote in message news:i8vpXEQKBHA.336@cnwchcs54.cnw.co.nz...
Hi,
When a Jade web server is not running anyone trying to browse the site gets the "Service Unavailable" message, does anyone know how to customise this to something a little more helpful, so first time visitors don't think your site is broken and never come back - "the server is temporarily closed for maintenance..." (or something similar that isn't so severe).
IIS lets you customise error messages but the Service Unavailable message isn't one of the ones in the list that is customisable.
Is there a way - how are other people handling this?

Thanks
Stephen Persson
Kinetix Group Ltd


Return to “Tips and Techniques”

Who is online

Users browsing this forum: No registered users and 28 guests