|start | find | index | login or register | edit|
by earl, 3259 days agoA simple mod_rewrite-based "maintenance mode"
You might have noticed the "down for maintenance" notice earlier today. This was enabled using a simple
With that in place, if a file named
Obviously, you could also use any other target as well, like a PHP script, for example.
Once that's in place, enabling maintenance mode is a simple as creating said
As a simple but effective extension, you can allow access on an IP-level during maintenance mode by adding the following rewrite condition:
Well, all hail the mighty mod_rewrite! And if you need a stupid "maintenance-only" webserver, have a look at 2006-05-07.
19 active users
|earl.strain.at • esa3 • online for 6318 days • c'est un vanilla site|