RewriteEngine help needed please?
Can anyone help me out? I need to block 2 sites from sending me traffic....
This works...
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.abc.com/.*$ [NC]
ReWriteRule .* http://www.zurax.com/portal2.php [R,L]
This doesnt...
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.abc.com/.*$ [NC] [OR]
RewriteCond %{HTTP_REFERER} ^http://www.123.com/.*$ [NC]
ReWriteRule .* http://www.zurax.com/portal2.php [R,L]
Nor this...
RewriteEngine On
RewriteCond %{HTTP_REFERER} ^http://www.abc.com/.*$ [NC]
RewriteCond %{HTTP_REFERER} ^http://www.123.com/.*$ [NC]
ReWriteRule .* http://www.zurax.com/portal2.php [R,L]