Update ini/www.htaccess

The site returned a 500 when applied. Reversed changes.
This commit is contained in:
Ken Fallon 2024-05-24 09:31:09 +00:00
parent abf21d542d
commit 1905b51d16

View File

@ -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
<Files 403.shtml>
Order Allow,Deny
@ -94,7 +88,3 @@ Allow from all
<IfModule headers_module>
header set X-Clacks-Overhead "GNU Terry Pratchett"
</IfModule>
Order Allow,Deny
Deny from x.x.x.x
Allow from all