Forum Discussion
Seckin_149390
Nimbostratus
Sep 09, 2016Irule for Uri and Client IP address.
Hi all,
I want to write irule to check according to both uri and client ip address and here is my test irule ;
when HTTP_REQUEST {
if { ([HTTP::uri] contains "/eqwebservice") and ([class ma...
Seckin_149390
Nimbostratus
Sep 18, 2016Hi,
First of all, thanks for you swift response. Third line in the irule, if it is not match with the related datagroup must be dropped. So that, this line must be written like this, please correct me if i am wrong ;
if { $httpUri starts_with "/eqwebservice" && $clientIp not equals "" }
There is also one thing you should care about it, if the Uri is different from /eqwebservice must be forward to the pool without a problem. For example ;
www.test.com/abc ( this uri must be forward to the pool )
Can your irule do this ?
Best Regards,
ekaleido
Cirrus
Sep 19, 2016Yessir.
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