I am looking for a small script that should basically redirect users from my websites to other domains based on there ips. I have some range of ips like, 205.65.*.* to 205.75.7.* and few other on the list for database. When users from any of these ip visit my website they should be redirected to one page and for users coming from ip's that are not in the list should redirect to different page. Similarly like ip range there should be option to redirect based on site referer and no referer rule. This code should run on .htaccess level to control the domain.
Please only bid fair price for this. Also be clear when can you complete the code i need this asap.