Forum Discussion
Access policy branch for Subdomain?
Does anyone know if there is a way to create an access policy branch that will function similar to Landing URI but will look for a subdomain instead of a URI?
I need a way to identify if the request is coming from one subdomain or another so I can apply different requirements to each.
example: If someone goes to app1.test.com they will be sent down one path of the access policy. However if someone goes to app2.test.com the access policy will send them down another branch of the same policy.
Any ideas would be appreciated it.
Thanks!
- Kevin_StewartEmployee
It's by no means exhaustive, but this is a good start: https://support.f5.com/kb/en-us/products/big-ip_apm/manuals/product/apm-config-11-4-0/apm_config_sessionvars.html
It also doesn't include session.service.network.name. Typically the best thing to do is to allow traffic to flow once or twice to set up an active session, then go to access session reports and look at the list of populated session variables there.
- Kevin_StewartEmployee
Try %{session.server.network.name}
You can find some examples here:
https://devcentral.f5.com/questions/apm-hostname-evaluation-and-client-authentication
Recent Discussions
Related Content
* 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