From 5a36d44a24934030fc37e311188e2e4fe1488c65 Mon Sep 17 00:00:00 2001 From: networkException Date: Mon, 11 Jul 2022 00:26:49 +0200 Subject: [PATCH] Public: Redirect various old skate702 gifs on the nwex.de to 702.rip I found a link to https://nwex.de/skateRAUS.gif and this shouldn't rot --- public/.htaccess | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/public/.htaccess b/public/.htaccess index 24f4409..33de687 100644 --- a/public/.htaccess +++ b/public/.htaccess @@ -2,3 +2,10 @@ RewriteEngine On RewriteCond %{REQUEST_URI} ^/.well-known/keybase.txt$ RewriteCond %{HTTP_HOST} ^(.*)$ RewriteRule ^(.*) /.well-known/%1.keybase.txt + +# Combat link rot +RewriteCond %{HTTP_HOST} ^nwex.de$ +RewriteRule ^skateRAUS.gif$ https://702.rip/raus.gif [L,R=301] +RewriteRule ^skateREIN.gif$ https://702.rip/rein.gif [L,R=301] +RewriteRule ^RAUS.gif$ https://702.rip/raus.gif [L,R=301] +RewriteRule ^REIN.gif$ https://702.rip/rein.gif [L,R=301]