michaellunsford Posted February 14, 2008 Share Posted February 14, 2008 I have a client who wants to temporarily turn off their site and be able to turn it back on at a moment's notice. I can't use the control panel to disable the site because it also disables email. What's the mod rewrite to move all traffic over to a single page? I need it to also be recursive (route the same even for subdirectories). the following doesn't work. RewriteRule ^[.]+$ /coming_soon.php [L,NS] Thanks for any help! Quote Link to comment Share on other sites More sharing options...
powerspike Posted February 15, 2008 Share Posted February 15, 2008 try giving this a go, RewriteRule ^(.*)$ coming_soon.php [L,NC] Quote Link to comment Share on other sites More sharing options...
michaellunsford Posted February 15, 2008 Author Share Posted February 15, 2008 That gives me an internal server error. It's not important for apache to record or pass the URL. i just want everything dumped to the same page. any other thoughts? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.