I am trying to rewrite a url and dont have an idea how this can be achieved.
What I want is1. client hits a url www.hello.com 2. based on his IP we forward to different virtual hosts3. E.g client ip 10.0.0.1 this gets fowarded to virtual host www.foo.comclient ip 126.96.36.199 this gets forded to virtual host www.bar.com
I have manged to resolve this by using src to differentiate ip and reqirep to rewrite the host