Forum Discussion
ccraddock_33000
Nimbostratus
Jan 29, 2018How to block HTTP/S requests to a VIP if the URI contains certain path
DevCentral,
I am having a hard time writing an irule that blocks/drops HTTP/S requests to a VIP if the URI contains the following: javax.faces.resource/dynamiccontent.properties.xhtml
I have writ...
MvdG
Cirrus
Jan 29, 2018Hi,
Why use an iRule?
Can't you use a LTM Policy attached to the VS?
A LTM Policy let's you define rules to adjust behavior of the VS. If the path contains this value, just reset the traffic.
Go to Local Traffic -> Policies -> Policy List and create a new policy.
In the policy add a new rule (give it a name) and do the following:
HTTP URI Path contains your path, Reset Traffic.
Regards, Martijn.
ccraddock_33000
Nimbostratus
Jan 29, 2018Martijn,
How would such a policy be written?
Thanks.
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