Merge branch 'main' into main

This commit is contained in:
kdmurrayhpr 2024-05-31 07:06:09 +00:00
commit 03b3f27404
3 changed files with 4 additions and 14 deletions

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
@ -93,8 +87,4 @@ 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
</IfModule>

View File

@ -116,7 +116,7 @@ print '<?xml version="1.0" encoding="UTF-8" ?>' . "\n";
<webMaster>admin@hackerpublicradio.org (HPR Volunteer)</webMaster>
<generator>kate</generator>
<docs>http://www.rssboard.org/rss-specification</docs>
<ttl>43200</ttl>
<ttl>720</ttl>
<skipDays>
<day>Saturday</day>
<day>Sunday</day>

View File

@ -197,7 +197,7 @@ print '<?xml version="1.0" encoding="UTF-8" ?>' . "\n";
<webMaster>admin@hackerpublicradio.org (HPR Volunteer)</webMaster>
<generator>kate</generator>
<docs>http://www.rssboard.org/rss-specification</docs>
<ttl>43200</ttl>
<ttl>720</ttl>
<skipDays>
<day>Saturday</day>
<day>Sunday</day>