Website shutdown

Component ID

2857312

Component name

Website shutdown

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

662

Component created

Component changed

Component body

This module allows you to shut down/close a website.

All requests handled by Drupal will be redirected to a specified page, unless it is initiated by a user who has adequate permission to navigate through the site.

Features

  • Paths exclusion: you may specify paths that won't be affected by the shutdown
  • Permission based: assign permission to your users/roles to bypass the shutdown
  • Redirection: you can specify to which page (internal or external) users should be redirected
  • Rules integration: 2 actions to shut down or open up your website are provided. This allows triggering those action based on a schedule (rules_scheduler module) or based on events

Future features

  • Implement a system/page similar to maintenance mode
  • Allow choice between predefined HTTP codes for the response

Remarks

  • As stated in the description, only the requests handled by Drupal will be impacted, this means that any resource from your website that is served directly by the web server will be still available. That includes public files such as images, documents etc...