N
N
nektobit2015-10-03 05:23:59
htaccess
nektobit, 2015-10-03 05:23:59

RewriteRule works for everyone except IE?

RewriteEngine on
RewriteCond %{HTTP_REFERER} !^ http://(www\.)?mydomain\.ru [NC]
RewriteCond %{HTTP_REFERER} !^ http://(www\.)?mydomain\.ru.*$ [NC]
RewriteRule ^1.jpg$ 2.jpg [L,QSA]
This works great, users of my site see one picture, users of another site that shows part of mine through an iframe see a completely different one. But not in IE/Edge. For some reason, the redirect does not work for these browsers.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question