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...
nitass
Oct 10, 2012Employee
do I need to enable 80 on the virtual server for it to work using http?yes
by the way, you may remove -glob in switch if it is exact match.
e.g.
[root@ve10:Active] config b rule myrule list
rule myrule {
when HTTP_REQUEST {
switch [string tolower [HTTP::path]] {
"/" -
"/itim/self" {
HTTP::redirect "https://[HTTP::host]/itim/self/Login/Logon.do"
}
}
}
}
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