My web host is currently down and has been for about and week. I do not want to permanently change hosts, but I have temporarily changed my DNS servers to another host and would like any page from my URL to serve a 503 error. Is this possible?
John Carpenter
9:02 pm on Jan 26, 2007 (gmt 0)
If you use Apache and PHP, you can internally mod-rewrite all requests to a file containing the following php script:
<?php header("HTTP/1.0 503 Service Temporarily Unavailable"); echo "HTTP 503 - Service Temporarily Unavailable"; exit; ?>