Forum Discussion
F5Hopper_28651
Sep 20, 2012Nimbostratus
string tolower? and HTTPS redirects
I have a few rules like this..
when HTTP_REQUEST {
if { [HTTP::uri] eq "/Recovery.aspx" } {
HTTP::redirect "https://qa.www.google.com/Recovery.aspx"
}
}
when HTTP_REQUEST {
if { [HTTP::uri] eq "/Signup.aspx" } {
HTTP::redirect "https://qa.www.google.com/Signup.aspx"
}
}
my issue is if I use a string tolower command it doesnt redirect to https://, Im trying to make it so the users changes the URL to /signup.aspx that it also redirects to HTTPS://
my other question is can I group these rules together?
Thanks
- Mohamed_LrhaziAltocumulusMerge the two iRules by simply moving on 'if" block into the othe rule.
- F5Hopper_28651Nimbostratusok thanks I have made my rule and its working now.
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