Frequently Asked Questions

Nov 16, 2019 - 08:34pm

 [F] Frequently Asked Questions  / Operational Questions  /

How to set up a "Down for system maintenance" message.

Rate This FAQ
 (Not yet rated)

Created On: 2 May 2002 12:55 pm
Last Edited: 2 May 2002 12:57 pm

Question Email This Printer Friendly

I'd like to be able to put up a message for my users while I perform system maintance. How can I do this.

Answer

If you run as a CGI, your Web Server will be the one to do this.

If you run in Direct Web Service (DWS) mode in version 4.1+ then the easieast approach is:


    In the DWS ip:port table, add a second port on the same IP.

    For example:

    10.0.0.7:80 10.0.0.7:8080

    (be sure this second port is available to you through any firewall you may have)

    In your mapping table ("Web request mapping (redirects)"), per the examples included there, set it up so any requests to the normal web port are redirected to an HTML page.

    Example

    http://10.0.0.7:80/* local:test.html

    where test.html is an HTML file located in your root HTML directory (by default this is the 'HTML' subdirectory of 'webx').

    Then to do your work on the server, you access your site through the 8080 port

    http://10.0.0.7:8080

    When you are done, remove the new mappings and if you wish, close the alternate port access.