Forum Moderators: phranque
Can someone give me an idea as to how I can block this weird referer XXXX:+++++++++++++++++++++++++++++++++++++++++++ I have found it a few times in my logs and tried to block it with RewriteCond %{HTTP_REFERER} ^XXXX:+$ [NC,OR] but I got a server error. It has different IPs so I dont want to block on IP address.
Thanks for your help.
Gerald
RewriteCond %{HTTP_REFERER} ^XXXX: [NC,OR]
That ought to do it. If you want to be more specific and match the plus signs, use this one:
RewriteCond %{HTTP_REFERER} ^XXXX:\++$ [NC,OR]
Unless the log shows that the referrer is using upper and lower case letters, no need for the NC flag.
Birdman