Friendly URI Re-Write based off of User-Agent?
I was wondering if it is possible to do a URL Re-write based off the user-agent of the browser?
For instance, we have users that come in on url1.domain.com and are then redirected to url2.domain.com at the website level. The SSL cert is based off of url2.domain.com, and url2.domain.com is what the user sees in the browser.
We would like for a user that makes a request to any pool to always show the friendly url1.domain.com if their user-agent is of type Mozilla, or TestAgent. So in the browser the user would always see url1.domain.com with no SSL error, and on the back end they will still be redirected as usual.
Is this possible? How can it be done?