[eluser]Clooner[/eluser]
Before updating a website I always replace the index.php by a maintenance page. After I finished the update I always place the original index.php back again. Because I use mod_rewrite it will always show the maintenance page. I would like to share my maintenance page and maybe make some improvements on this. Maybe someone has suggestions to improve on this. I just center a background image(which contains the message) inside the body to place the message smack in the middle.
Code:
<?php
header("HTTP/1.1 503 Service Temporarily Unavailable");
header("Status: 503 Service Temporarily Unavailable");
header("Retry-After: 86400");
?>
<html>
<head>
<title>503 - Deze website is tijdelijk niet beschikbaar</title>
<style>
body { display:block; padding:0px; margin:0px; height:100%; width:100%; display:block; background:url(http://arie.nl/maintenance.png) center no-repeat #3f3f3f; }
</style>
</head>
<body>
</body>
</html>