Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
offline website
<?php
header("HTTP/1.1 503 Service Unavailable");
?>
<html>
<body>
<p>
Sorry, the website is offline from 2017-11-05 17:01, for approximately 3 hours.
<p>
It is now <?php echo gmdate("Y-m-d H:i");?>.
</body>
</html>
<VirtualHost *>
ServerAdmin dan@langille.org
DocumentRoot /usr/websites/offline/www
ServerName www.freshports.org
ServerAlias freshports.org
ServerAlias supernews.freshports.org
ServerAlias freshsource.org
ServerAlias www.freshsource.org
ErrorDocument 404 /index.php
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment