Mod_rewrite - URL rewrite based upon HTTP_REFERER

Hello,

I have added following rewrite cond and rewrite rules but it does not work.

RewriteCond %{HTTP_REFERER} ^http://192\.168\.1\.150/categories/.*$ [NC]
RewriteRule ^(.*)$ http://www.blahblah.com/

When I hit url : http://192.168.1.150/categories/881-Goes?page=7 in my browser - it loads and url does not rewrite to http://www.blahblah.com ]eBags - Shop Bags and Accessories - Free Shipping - blahblah

Here are logs:

Thanks

Using HTTP_REFERER is not correct for what you describe and show in the logs.

Could you please advise what is appropriate.

Thanks