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
I don't think a lookahead/back reference will work with matches_regex, but this will:
if { [regexp {^/A(B|C)DEF/test-(10|20|30|40|50|60)/(one|two|three|four|five|six|seven|eight)/(2013|2014)/(.)} $uri all a b c d e] == 1 } {
log local0. "http://webserver_name-${b}-A${a}DEF/${d}/${e}"
}
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