update .htaccess and add google and bing to exclude list

main
Dominic Reich 1 year ago
parent 72241b959b
commit d6a42659e5
Signed by: dominic
GPG Key ID: BC9D6AE1A3BE169A

@ -18,6 +18,8 @@ Header set Vary: Origin
RewriteEngine On RewriteEngine On
RewriteCond %{REQUEST_URI} !hotlinked\.png$ RewriteCond %{REQUEST_URI} !hotlinked\.png$
RewriteCond "%{HTTP_REFERER}" "!^$" RewriteCond "%{HTTP_REFERER}" "!^$"
RewriteCond "%{HTTP_REFERER}" "!www.google.com"
RewriteCond "%{HTTP_REFERER}" "!www.bing.com"
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]

Loading…
Cancel
Save