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...
hoolio
Cirrostratus
Jan 20, 2010If you're wanting to match /login/login-page.aspx and anything after that, you'd need the asterisk. You could also use HTTP::path and not use the asterisk and -glob flag:
when HTTP_REQUEST {
switch [string tolower [HTTP::path]] {
"/login/login-page.aspx" {
HTTP::redirect "https://ourwebsite.org[HTTP::uri]"
}
}
}
Aaron
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