Frequently Asked Questions

Dec 10, 2024 - 12:35pm

 [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 11:55 am
Last Edited: 2 May 2002 11:57 am

Question 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.