Forum Discussion
K-Dubb
Nimbostratus
Jan 19, 2012Friendly URI Re-Write based off of User-Agent?
Hi everyone,
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 the...
Chris_Phillips
Nimbostratus
Jan 20, 2012OK, well SSL aside for now, can you be more specific about your use of the word "redirect"? A redirect would generally be taken to be sending an HTTP 302 redirect response back to the client and have them come back again asking for a different resource. A rewrite, however, would generally be the manipulation of the existing request to do something other than what was originally requested.
It sounds like you're talking about rewriting, not redirecting, is that correct? if so, I'm not sure what you want to redirect. If you don't want the end server to notice then it should just be a case of NOT doing anything. as the LTM works initially at a TCP level, not an HTTP level, you would have to go out of your way to change the HTTP Host headers etc. If you just load balance this request to the right servers, without using any irules or such like, then they will get the original request, there is no manipulation of the HTTP details unless you explicitly tell it to do so.
I'm faaaairly sure I'm missing something here, but you don't seem to be asking the LTM to actually do anything in the first place.
Do you just want to be using the User-Agent header to pick a certain pool and nothing else? If so, this appears to be very similar... you're not sitting next to this guy are you?
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/2159207/showtab/groupforums/Default.aspx
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects