Try to block the hotlinking
1 post
• Page 1 of 1
Try to block the hotlinking
Hi,
We are trying to use ISAPI_Rewrite 3.0 to block the hotlinking. The code below works fine in Chrome
RewriteCond %{HTTP:Origin} http(s)?://xxx\.domain\.com$ [NC]
RewriteRule \.(woff|eot|ttf)$ - [NC,L]
RewriteCond %{HTTP_REFERER} !. [NC, OR]
RewriteCond %{HTTP_REFERER} !^http(s)?://xxx\.domain\.com [NC]
RewriteRule \.(woff|eot|ttf)$ - [F,NC,L]
But not for IE.
Can you help us to modify the code, so it can work in both of the browsers?
Thank you and regards!
Yeming
We are trying to use ISAPI_Rewrite 3.0 to block the hotlinking. The code below works fine in Chrome
RewriteCond %{HTTP:Origin} http(s)?://xxx\.domain\.com$ [NC]
RewriteRule \.(woff|eot|ttf)$ - [NC,L]
RewriteCond %{HTTP_REFERER} !. [NC, OR]
RewriteCond %{HTTP_REFERER} !^http(s)?://xxx\.domain\.com [NC]
RewriteRule \.(woff|eot|ttf)$ - [F,NC,L]
But not for IE.
Can you help us to modify the code, so it can work in both of the browsers?
Thank you and regards!
Yeming
1 post
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests