Forum Discussion
Thiyagu_163984
Nimbostratus
Jun 04, 2017Irule to match a URI and defined RH parameter has certain defined variable
Hello All,
I'm trying to write an IRULE match an URI and a certain defined variable RH parameter value. If the condition met then it should forward the traffic to webserver else it should drop the tr...
Thiyagu_163984
Nimbostratus
Jun 04, 2017here is the irule script: when HTTP_REQUEST { set variable XX if {[HTTP::URI] contains "/obs.php?re*"} if {[string tolower [URI::query [HTTP::uri] "RH"]] equals "xx"} { pool POOLX } else { HTTP::respond 403 } } else if {pool POOLX } }
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