NoamRotter_1534
Jun 18, 2017Nimbostratus
APM 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.