Customizing Viewpoint > Displaying a site maintenance page

3.8 Displaying a site maintenance page

Occasionally, you will need to shut down your site for maintenance.

To display a site maintenance page

  1. Open the core.xml file located in the Viewpoint home directory.
  2. Find the <properties> element and add the <maintenance-path> element to display a "Site is under maintenance" page.
  3. <maintenance-path />

    You can also specify the relative path of a custom site maintenance page.

    <maintenance-path>pages/maintenancePage.jsp</maintenance-path>

    Users who do not have the maintenance.user permission will not be able to access the site.

  4. Give users the maintenance.user permission (<permission name="maintenance.user" />) if you want them to be able to access the site. For more information, see Setting permissions.
  5. The server will not need to be restarted. Users currently logged in will not be logged out and will continue to have access to the site. Once the application is in use, any user that does not have the correct permissions will be denied access to the site.

Related topics