Forum Discussion
Mark_2014_16996
Nimbostratus
Sep 16, 2014How to combine 2 iRules
I need help combining 2 iRules:
iRule 1:
when HTTP_REQUEST { if { [HTTP::host] equals "www.webpage.com" } { if { [HTTP::path] starts_with "/access/" } { log local0. "host=[HTTP::host] path=[HTTP:...
Arie
Altostratus
Sep 16, 2014Better:
when HTTP_REQUEST {
if { !( [HTTP::query] contains "client_id=connection" && [HTTP::path] starts_with "/access/" && [HTTP::host] equals "www.webpage.com" ) } {
reject
}
}
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