[TYPO3-dev] TYPO3-Site Maintanance

Olivier Dobberkau olivier.dobberkau at dkd.de
Mon Sep 24 23:23:29 CEST 2007


Steffen Kamper schrieb:

> When others are interested in i could post a patch for it in BT

I like the idea too.

Better would be something using mod_rewrite...


Stolen from Ruby on Rails..

# Check for maintenance file and redirect all requests

   RewriteCond %{DOCUMENT_ROOT}/system/maintenance.html -f
   RewriteCond %{SCRIPT_FILENAME} !maintenance.html
   RewriteRule ^.*$ /system/maintenance.html [L]

Maybe the Installer can have such an Function..

Olivier




More information about the TYPO3-dev mailing list