Forum Discussion
Joe_Pipitone
Nimbostratus
Jan 20, 2010SSL redirection and rewrite
I have an iRule currently in place - what we want to do is catch for a URL with a query string that a user clicks on or enters into their browser, and if that URL is accessed insecurely, we need to re...
Joe_Pipitone
Nimbostratus
Jan 20, 2010I was thinking something like this, can anyone tell me if this would work? Would simply adding an asterisk catch any query string?
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::uri]] {
"/login/login-page.aspx*" {
HTTP::redirect "https://ourwebsite.org[HTTP::uri]"
}
}
}
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