Forum Discussion
ywa
Aug 16, 2021Nimbostratus
LTM uri filtering with APM enabled
Hello, I want to restrict the URI of a virtual server in a LTM policy. So, I created an LTM policy with a rule like this : Conditions : 1. HTTP Host host is 'test.mydomain.com' at reques...
Aug 17, 2021
Hi ywa,
Can you try this iRule?
when HTTP_REQUEST {
if { [HTTP::host] equals "test.mydomain.com" && [HTTP::uri] starts_with "/allowed" } {
ACCESS::disable
pool /Common/POOL_test
}
}
- ywaAug 17, 2021Nimbostratus
Hello,
Thanks for your answer.
I want to keep the access policy control on the uri. Just allow the uri that the BigIP use to make the session.
In fact, if I use an iRule like the one you give but without the "ACCESS::disable" part. It's working because by default the irule is not trigger for the internal access control URI used for the APM session.
But it is not the case from the LTM policy and I was wondering if it was possible to do the same in the LTM policy (to avoid using an iRule just for that).
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