Forum Discussion
Mark_2014_16996
Sep 16, 2014Nimbostratus
How 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
Sep 16, 2014Altostratus
This should do it, then:
when HTTP_REQUEST {
if { ( [HTTP::query] contains "client_id=connection" ) && ( [HTTP::path] starts_with "/access/" ) && ( [HTTP::host] equals "www.webpage.com" ) } {
log local0. "uri=[HTTP::uri] action=allow"
} else {
log local0. "Rejected"
reject
}
}
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