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, 2012if the cn on the cert if for "url2" then if their browser sauys "url1" and they are using an SSL connection with that cert, then they will always see an error. I don't really understand what you're asking to happen, but as you've mentioned the cert names etc, I think it must be the case that you somehow want the ssl connection to be "happy" despite it being for the wrong domain... You do sound like you are using internal redirection, as opposed to a 302, but then I'd not call that a "friendly" rewrite as the user would be oblivious to it.
It's certainly possible to use the UA value from [HTTP::header "User-Agent"] with a switch block (or equivalent) to match to your UA requirements, but none of this deals with the SSL side of things, which seems to be where the real issue is.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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
