Forum Discussion
eric_156978
Cirrus
Apr 06, 2015Virtual Server Routing with Client Cert
Hi,
I have a sort of "catch all" virtual server with no access policy, terminating SSL, and an irule that routes requests to the correct virtual server based on the hostname.
The target virtual s...
eric_156978
Cirrus
May 06, 2015I ended up finding a decent solution to this problem myself.
Instead of using multiple virtual servers with multiple access policies, I consolidated everything down to one access policy and one virtual server.
The access policy's first step is to look at the requested hostname and branch off into the correct validation:
Advanced anonymous branch rule:
expr {
[mcget {session.server.network.name}] eq "anon1.mysite.com"
|| [mcget {session.server.network.name}] eq "anon2.mysite.com"
}
Advanced reporting branch rule:
expr {
[mcget {session.server.network.name}] eq "reporting.mysite.com"
}
...
Having the access policy validate the policy based on the hostname allows me to have a catch all style validation with a single virtual server.
Hope this helps someone else!
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
