Customizing Viewpoint > Displaying a site maintenance page

3.9 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 <app-jsp-path> element to display a "Site is under maintenance" page.
  3. <app-jsp-path>maintenance_application.jsp</app-jsp-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.

  6. Use the <login-jsp-path> element to set an alternate login.jsp file that will alert users that the site is under maintenance and that a login attempt will fail if the user does not have special authorization. To do this, add the following line to the <properties> element in the core.xml file:
  7. <login-jsp-path>maintenance_login.jsp</app-jsp-path>

Related topics