update .htaccess and add google and bing to exclude list
This commit is contained in:
parent
72241b959b
commit
d6a42659e5
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue