Forum Discussion
NoamRotter_1534
Nimbostratus
Jun 18, 2017APM select branch by port
Hi,
I have a Virtual Server listening to all ports
This VS has an access policy applied.
Currently, the access policy is checking the landing URI and accordingly, redirect the user to the desired resource.
the default "/" URI gives the user a general portal
I want to be able to control which resource to give the user by checking the dst port.
Code
If the user URL is https://{VS-IP}:1234/ then
Give the user resource 1
else if the user URL is https://{VS-IP}/ then,
Give the user the general portal
else, deny access
How do I accomplish this in the VPE?
Regards,
Noam.
- Stanislas_Piro2
Cumulonimbus
Hi,
I don't have a APM enable, but I think there is a variable
session.server.network.port
you can use it in a branch expression.
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