Under construction - work in progress

Public access to FE pages disabled for maintenance

Sometimes there is the need to disable completely any access to FE pages, in order to install and customize new features and, mainly, for making important changes to database or to website structure.

The already available feature, usable through $TYPO3_CONF_VARS[FE][pageUnavailable_force], was insufficient for our needs, so we added a new feature, based on simultaneous BE access profiles instead of IPs.

As further option, we've added the possibility to disable automatically scheduler tasks when FE access is disabled using this feature.

Two parameters have been added in config_default.php, and have been integrated in the installation tool:

$TYPO3_CONF_VARS[FE][disableFeAccess] permits to define more types of FE access:

  • 0: normal FE access (default)
  • 1: FE access enabled only to users also logged in BE as admin
  • 2: FE access enabled only to users also logged in BE with any profile
  • 3: FE access denied to all

With this feature, site may be stopped for maintenance, and only selected BE users may access FE pages.

$TYPO3_CONF_VARS[FE][disableSchedulerWhenFeAccessDisabled] permits to stop scheduled tasks automatically if FE access is limited using previous parameter:

  • 0: tasks always enabled
  • 1: tasks disabled when public FE access is disabled.

Only scheduled tasks are blocked. Tasks executed once from BE scheduler panel are allowed.

A message is sent to log when scheduler does not execute tasks because of blocked access to FE.