URGENT: how to make a global "server temporarily down" page?
| From: | David T-G | Date: | Fri, 05 Sep 2003 11:07:59 +0000 |
| Subject: | URGENT: how to make a global "server temporarily down" page? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-161738@lists.php.net to get a copy of this message | ||
Hi, all --
I thought I knew the trick for this, but I don't, and I have about an
hour to figure it out.
We're going to be taking down our web server for some unavoidable
maintenance and we want to put up a polite "we're not here" page rather
than just look like we went out of business. We're going to bring up
httpd but leave all databases etcetc turned off.
How can i make a script, perhaps with an htaccess trick file, which will
take
example.com/
example.com/login.php
example.com/index.php?some¶ms&etc
and always be found? The trick I knew depended on looking in a
subdirectory so that I could fake the name, but this has to work from the
root.
TIA & HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!