I need some help getting a url rewritten
Here's what I have so far in the Virtual Host part of my primary web site
RewriteCond %{REMOTE_ADDR} ^167.142.33.01
RewriteRule ([a-z]+).([a-z]+).([a-z]+) http://www.abcnews.com
I'm trying to redirect the URL based upon the IP address, but it doesn't seem to be working. I'm trying to forward to abcnews.com just for testing purposes. Once I'm sure the url rewrite is working, I'm pointing it to a different web site.
Any help would be appreciated.
Thanks!