forked from HPR/hpr_hub
Update ini/www.htaccess
The site returned a 500 when applied. Reversed changes.
This commit is contained in:
parent
abf21d542d
commit
1905b51d16
@ -1,11 +1,8 @@
|
|||||||
RewriteEngine on
|
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]
|
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 "^comments_rss.php$" "/comments.rss" [R]
|
||||||
|
|
||||||
RewriteRule "^live$" "https://stream.lugcast.mywire.org/stream" [R=301,NE,L]
|
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/hpr%2/index.html?" [L]
|
||||||
RewriteRule "^eps\.php$" "/eps/index.html" [R=301,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>
|
<Files 403.shtml>
|
||||||
Order Allow,Deny
|
Order Allow,Deny
|
||||||
@ -93,8 +87,4 @@ Allow from all
|
|||||||
|
|
||||||
<IfModule headers_module>
|
<IfModule headers_module>
|
||||||
header set X-Clacks-Overhead "GNU Terry Pratchett"
|
header set X-Clacks-Overhead "GNU Terry Pratchett"
|
||||||
</IfModule>
|
</IfModule>
|
||||||
|
|
||||||
Order Allow,Deny
|
|
||||||
Deny from x.x.x.x
|
|
||||||
Allow from all
|
|
Loading…
Reference in New Issue
Block a user