Forum Discussion
Domai
Altostratus
May 06, 2016Block uri iRule review....Pls
Hello I just have a simple requirement ie to allow only certain uri's. I just want to check to see if the below iRule will do the trick and not cause any problems...
===============================...
Yann_Desmarest
Cirrus
May 07, 2016Hello,
To get the uri part without the query string, you should use HTTP::path instead.
drop, discard commands cause the client to timeout because nothing is sent to the client.
reject send a tcp reset to the client.
When using http/https, I prefer to answer an http error instead of a tcp action.
And I would recommend to use starts_with or contains instead of ne for the condition in the class match
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
