You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
466 B

Header set Access-Control-Allow-Origin: https://oe7drt.com
Header set Vary: Origin
RewriteEngine On
RewriteCond %{REQUEST_URI} !hotlinked\.png$
RewriteCond "%{HTTP_REFERER}" "!^$"
RewriteCond "%{HTTP_REFERER}" "!oe7drt.com" [NC]
RewriteRule "\.(gif|jpg|png)$" "https://oe7drt.com/hotlinked.png" [R,L]
#SetEnvIf Referer "oe7drt\.com" localreferer
#SetEnvIf Referer ^$ localreferer
#<FilesMatch "\.(jpg|png|gif)$">
# Require env localreferer
#</FilesMatch>