nielslange
3/24/2017 - 5:40 PM

Display custom 410 error page (see also https://gist.github.com/nielslange/d77d0114d13727c3dfff9fd9b933f545)

<!doctype>
<html>
<head>
<style type="text/css">
html, body {
	height: 100%;
	overflow: hidden;
}
h3 {
	margin-bottom: 20px;
	text-align: center;
}
.outer {
	align-items: center;
	display: flex;
	height: 80%;
	justify-content: center;
}
.inner {
	max-width: 50%;
}
</style>
</head>

<body>
	<div class="outer">
		<div class="inner">
			<h3>¯\_(⊙︿⊙)_/¯</h3>
			<p>The requested resource <strong><?php print($_SERVER['REQUEST_URI']); ?></strong> 
			is no longer available on this server and there is no forwarding address. Please 
			remove all references to this resource. If you ended up here by accident you 
			might wanna go <strong><a href="http://<?php print($_SERVER['REQUEST_URI']); ?>">back to the homepage</a></strong>.</p>
		</div>
	</div>
</body>

</html>