felipe
Joined: 19 Jul 2006
Posts: 4
|
| Posted: Sun Jul 23, 2006 6:01 am Post subject: needed>automatic "site is down" page |
|
|
My site is down, and I want an "site_is_down.html" page pop up when anyone requests *ANYTHING* from my apache server.
I tried to search for "server AND down" but was unable to find anything that matched what I was looking for.
I could probably do it with virtual hosts, but I'm lazy to set them up. I don't want to have to #comment# them out when I'm live, and then uncomment them when I'm down. I would imagine there is a one-liner or two-liner that would do what I'm looking to do.
Also, I tried the code below, but this doesn't prevent someone from going to http ://www.mydomain.tld/different_page.html
Code: Redirect temp / http://www.mydomain.tld/site_is_down.html
Can anyone help me, or give me some pointers on directives i could use to accomplish this?
edit: i tried the "redirect" code again, but instead it just made an infinite loop, trying to find the file, but then getting redirected to a file on the server, which tried to redirect once again ........ that was stupid :lol: |
|