Forum Moderators: phranque

Message Too Old, No Replies

Domain block not working

         

ichthyous

2:43 pm on Feb 14, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi there, I am trying to block a few domains from my site and the following code in htaccess does not seem to produce any effect:

RewriteCond %{HTTP_REFERER} webscissors\.com [OR]
RewriteCond %{HTTP_REFERER} #*$!-my-profile\.com [OR]
RewriteCond %{HTTP_REFERER} gb\.chinabroadcast\.cn
RewriteRule .* - [F]

When I go to those sites and enter my url to test whether my server is blocking that referrer it doesn't. Am I missing something?

jdMorgan

3:00 pm on Feb 14, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Assuming that you have other working rules, then the most likely cause is that you did not flush your browser cache before testing.

Jim