update .htaccess rewrites for new feed url

main
Dominic Reich 1 year ago
parent 74255d26e6
commit 35142cffda
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -2,6 +2,15 @@ Header set Access-Control-Allow-Origin: https://oe7drt.com
Header set Vary: Origin Header set Vary: Origin
# Hotlink images prevention # Hotlink images prevention
# sends a 403 Forbidden
# SetEnvIf Referer "oe7drt\.com" localreferer
# SetEnvIf Referer ^$ localreferer
# <FilesMatch "\.(jpg|png|gif)$">
# Require env localreferer
# </FilesMatch>
# rewrite to the `hotlinked.png` image and show this to any # rewrite to the `hotlinked.png` image and show this to any
# hot-linking origin page # hot-linking origin page
# https://techexpert.tips/apache/apache-prevent-image-hotlinking/ # https://techexpert.tips/apache/apache-prevent-image-hotlinking/
@ -12,11 +21,8 @@ RewriteCond "%{HTTP_REFERER}" "!^$"
RewriteCond "%{HTTP_REFERER}" "!oe7drt.com" [NC] RewriteCond "%{HTTP_REFERER}" "!oe7drt.com" [NC]
RewriteRule "\.(gif|jpe?g|png)$" "https://oe7drt.com/hotlinked.png" [R,L] RewriteRule "\.(gif|jpe?g|png)$" "https://oe7drt.com/hotlinked.png" [R,L]
# sends a 403 Forbidden # Other rewrites
# SetEnvIf Referer "oe7drt\.com" localreferer RewriteRule "index\.json$" "feed\.json"
# SetEnvIf Referer ^$ localreferer RewriteRule "index\.xml$" "feed\.xml"
# <FilesMatch "\.(jpg|png|gif)$">
# Require env localreferer
# </FilesMatch>

Loading…
Cancel
Save