Skip to content

Instantly share code, notes, and snippets.

@non7top
Created August 17, 2016 12:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save non7top/7b797902dd4c16b637a197636f7c3380 to your computer and use it in GitHub Desktop.
Save non7top/7b797902dd4c16b637a197636f7c3380 to your computer and use it in GitHub Desktop.
HTTP 451 Unavailable For Legal Reasons
RewriteEngine On
RewriteCond %{REMOTE_HOST} !^192.168
RewriteRule .* 451.php [L]
<?php header("HTTP/1.1 451 Unavailable for Legal Reasons"); ?>
<html>
<head>
<title>451 Unavailable For Legal Reasons</title>
</head>
<body>
<h1>451 Unavailable For Legal Reasons</h1>
<p>Access to this page is restricted due to a copyright claim from http://b-monitor.ru</p>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment