I want to allow access from only certain domains. Now I know that this will block domains:
RewriteEngine on
RewriteCond %{HTTP_REFERER} abc.com* [OR]
RewriteCond %{HTTP_REFERER} def.com
RewriteRule /*
http://www.yousite.com
But how can I hange this to allow only from these two domains and block all others?
Thanks!