Forum Discussion
aniaz_161592
Nimbostratus
Sep 20, 2014Irule for different URL's to one URL
I have running with multiple url's as mentioned below under one VIP:
https://www.abc.com/abc/service/
https://www.abc.com/def/service/
https://www.abc.com/ghi/service/
https://www.abc.com/jkl/se...
Sep 07, 2016
This irule could do the trick
when HTTP_REQUEST {
if { ( [string tolower [HTTP::host]] eq "www.abc.com" ) } {
if { ( [string tolower [HTTP::uri]] starts_with "/test/world/saml-2.0" ) or ( [string tolower [HTTP::uri]] starts_with "/test/world/test/saml-2.0" ) } {
return
} else {
reject
}
}
}
Cheers, Kees
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