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:
192.168.x.yy - - [23/Jan/2014:06:46:55 +0000] "GET /categories/881-Goes?page=7 HTTP/1.1" 200 50167 "-" "Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Ubuntu/11.10 Chromium/14.0.835.202 Chrome/14.0.835.202 Safari/535.1"
192.168.x.77 - - [23/Jan/2014:06:46:58 +0000] "GET /categories/881-Goes?page=7&format=js HTTP/1.1" 200 309 "http://192.168.x.zz/categories/881-Goes?page=7 " "Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.1 (KHTML, like Gecko) Ubuntu/11.10 Chromium/14.0.835.202 Chrome/14.0.835.202 Safari/535.1"
Thanks
Neo
January 23, 2014, 5:42am
2
Using HTTP_REFERER is not correct for what you describe and show in the logs.
Could you please advise what is appropriate.
Thanks