From 1905b51d1653c6385e274fc4db771fc091f22af3 Mon Sep 17 00:00:00 2001 From: Ken Fallon Date: Fri, 24 May 2024 09:31:09 +0000 Subject: [PATCH] Update ini/www.htaccess The site returned a 500 when applied. Reversed changes. --- ini/www.htaccess | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/ini/www.htaccess b/ini/www.htaccess index 6ea8a9f..859cf7a 100644 --- a/ini/www.htaccess +++ b/ini/www.htaccess @@ -1,11 +1,8 @@ RewriteEngine on -RewriteCond %{HTTP_USER_AGENT} (DataForSeoBot|MJ12bot|AhrefsBot|AwarioBot|BLEXBot|dotbot|PetalBot|SemrushBot*|SiteAuditBot|SplitSignalBot|Yandex) [NC] +RewriteCond %{HTTP_USER_AGENT} (ClaudeBot|DataForSeoBot|MJ12bot|AhrefsBot|AwarioBot|BLEXBot|dotbot|PetalBot|SemrushBot*|SiteAuditBot|SplitSignalBot|Yandex) [NC] RewriteRule (.*) - [F,L] -RewriteCond %{HTTP_USER_AGENT} (Pocket Casts|PocketCasts) [NC] # Target specific user-agent (replace with actual string) -RewriteRule ^site_total_([^_]+)_rss\.php$ /site_$1_rss.php [L,R=301] - RewriteRule "^comments_rss.php$" "/comments.rss" [R] RewriteRule "^live$" "https://stream.lugcast.mywire.org/stream" [R=301,NE,L] @@ -81,9 +78,6 @@ RewriteRule eps\.php /eps/hpr%1/index.html? [L] #RewriteRule "eps\.php" "/eps/hpr%2/index.html?" [L] RewriteRule "^eps\.php$" "/eps/index.html" [R=301,L] -RewriteCond %{QUERY_STRING} series=111 -RewriteRule hpr_mp3_rss\.php https://linuxinlaws.eu/inlaws_rss.xml - Order Allow,Deny @@ -93,8 +87,4 @@ Allow from all header set X-Clacks-Overhead "GNU Terry Pratchett" - - -Order Allow,Deny -Deny from x.x.x.x -Allow from all \ No newline at end of file + \ No newline at end of file