Forum Discussion
Aurel
Oct 23, 2013Cirrus
Irule and regex inspired from apache like regex
Hi,
I'm migrating a reverse proxy apache conf to BigIP. I had powerful line that matches 192 urls cases. The issue is that the best i've found until now, is really not convenient at all with Big...
Kevin_Stewart
Oct 23, 2013Employee
Agreed. Something like this:
when HTTP_REQUEST {
if { [HTTP::uri] matches_regex {^/A(B|C)DEF/test-(10|20|30|40|50|60)/(one|two|three|four|five|six|seven|eight)/(2013|2014)/(.)} } {
log local0. "match"
} else {
log local0. "no match"
}
}
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