Hi,
I want to protect a domain directory:
(
http://www.mydomain2.com/users/ )
and the only refer should be:
(
http://www.mydomain1.com/main.html )
I guess that I can do this with a .htaccess file.
I have these lines:
AuthType Basic
RewriteEngine On
RewriteCond %{HTTP_REFERER} !^http://www.mydomain1.com/main.html [NC]
RewriteCond %{HTTP_REFERER} !^http://www.mydomain2.com/users/ [NC]
RewriteRule /*
http://www.mydomain2.com/error.html [R,L]
It should be working, but when I try to save a *zip file
with ' save target as ' I save the error.html and not the *zip file.
Any suggestions?
Thanks