Created
February 21, 2021 13:02
-
-
Save palkx/fb0d01a11bf8c01dd8b28e4738bb3eb2 to your computer and use it in GitHub Desktop.
Apache 410 redirect.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^(.*)天気/$ error410.php [L,QSA] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php header($_SERVER['SERVER_PROTOCOL'].' 410 Gone'); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment