Forum Discussion
GFort_32452
Oct 09, 2012Nimbostratus
Need help writing irules
I am new to wriitng irules and was needing some help. I need to write an irule that will redirect the following
https://resetmypasswordqa/itim/self
https://resetmypasswordqa
http://r...
GFort_32452
Oct 11, 2012Nimbostratus
Irule below worked great in redirecting
but it does not redirect for some reason.
Also when they use without the full domain name (resetmypassword.domain.name) it gets a cert error, but when you click continue then redirects using the full domain name and the cert shows to be valid. I am not sure if anything could be done to crrect this since the irule really has not yet ran. The certificate https uses in on the F5 with the common name being resetmypassword.domain.name
when HTTP_REQUEST {
switch -glob [string tolower [HTTP::path]] {
"/" {
HTTP::redirect " https://resetmypassword.domain.name...n/Logon.do"
}
"/itim/self" {
HTTP::redirect " https://resetmypassword.domain.name...n/Logon.do"
}
}
}
Any ideas or information is greatly appreciated.
Gary
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