Forum Discussion
Glenn_Ruffus_10
Nimbostratus
Oct 31, 2007wildcard query string
I am working on a HTTP redirect iRule and am having trouble. I would like to use some kind of wildcard so that the "if" statement will match *any* query string found in an HTTP GET that uses the spec...
Colin_Walker_12
Oct 31, 2007Historic F5 Account
It sounds like what you're looking for is:
when HTTP_REQUEST {
if { [HTTP::uri] starts_with "/corporate/login.jsp?" } {
HTTP::redirect "https://author.somedomain.com/new/login.jsp?[HTTP::query]"
}
}HTH,
Colin
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