Forum Discussion
Janek_42109
Nimbostratus
Aug 21, 2015APM - hostname evaluation and client authentication
Hello All,
I build a policy that depending of the hostname requested by the client, a client certificate is require or not.
This is the view of my policy :
The two boxes "Hos...
Stanislas_Piro2
Cumulonimbus
Aug 21, 2015Hi,
expr { [mcget {session.network.name}] contains "foo" and contains "test.com"}
is not a good expression
expr { ([mcget {session.network.name}] contains "foo") && ([mcget {session.network.name}] contains "test.com")}
if the domain is test.com, it's better to use
ends_with instead of contains
Why do you create 2 boxes for hostname check? you can create a second branch in the first box?
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