Multiple URL redirect based on incoming URL definition...
I posted this last week however the answer provided did not work. I am looking for other suggestions. Thanks in advance to all that answer.
I have a need to redirect traffic coming from different URL's to another URL based on the the incoming URL string and IP address. Private addresses will redirect to one URL and all other requests will redirect to another URL. Also, this iRule will be used on multiple inbound requests for different vendors. I have the private_net Datagroup to match on for inbound IP. The Internal users referenced below will be coming from the private_net range.
Vendor 1- Inbound URL – http://qa-myaccess.com/Login/GentivaLinkTest Redirect Internal Users to – http://qa-myaccess.com/Login/GentivaLinkTest/Windows Redirect External Users to – http://qa-myaccess.com/Login/GentivaLinkTest/EmpowerID
Vendor 2- Inbound URL – http://qa-myaccess.gentiva.ghsnet.com/Login/Relias Redirect Internal Users to – http://qa-myaccess.com/Login/Relias/Windows Redirect External Users to – http://qa-myaccess.com/Login/Relias/EmpowerID
All else go to http://qa-myaccess.com/empowerID
Thanks in advance.
Kirk Stanford