Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 needed>automatic "site is down" page
Post new topic Reply to topic
Author Message

Joined: 19 Jul 2006
Posts: 4

PostPosted: Sun Jul 23, 2006 6:01 am Reply with quoteBack to top

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

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 Laughing
View user's profileSend private message
Display posts from previous:      
Post new topic Reply to topic

 Jump to:   

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT