Forum Discussion
Ankur_Goel_2526
Nimbostratus
Apr 07, 2019Need i-rule to allow traffic for specifc URI
Need irule to pass traffic to pool member if HTTP request comes for .
But if URI value is different with above URL then traffic should block and user should receive Error - 404.
Also, if pool membe...
Hamish
Cirrocumulus
Apr 07, 2019Untested (But syntactically correct), try this...
when HTTP_REQUEST {
if { not ([HTTP::uri] equals "/net") } {
log local0.debug "[HTTP::uri] is not permitted to site"
HTTP::respond 404
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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