I've got a site that's the back-end of a system that we have designed. normally, we go to different venues and connect the the back-end system over the internet and carry on.
We now have to go to a venue that is literally in a field and has no internet access whatsoever. I have got the system running on a local machine, no problem, but I want to make the main site on the internet unavailable for users, but give them a message telling them what has happened.
At the moment I've got a .htaccess in the root:
Options +FollowSymlinks RewriteEngine On RewriteBase / RewriteRule ^(.+)$ http://www.example.com/offline.php [R,L]
Which half works, but browsers don't like it:
Firefox has detected that the server is redirecting the request for this address in a way that will never complete.
To recap, I want any URL entered:
http://www.example.com/ http://www.example.com/dir1/ http://www.example.com/dir1/?area=value etc.
to end up at