Forum Discussion
Wasim_Hassan_13
Nimbostratus
Oct 29, 2014WWW redirect to HTTPS
i want to redirect whenever user type www.jobsuat.abc.com https://jobsuat.abc.com http://jobsuat.abc.com to redirect to https://ebsdmzuat.abc.com/OA_HTML/IrcVisitor.jsp curren...
Matt_Dierick
Employee
Oct 29, 2014In that case, I would say, use switch command : https://devcentral.f5.com/articles/irules-101-04-switch
switch [HTTP::host] {
"*ircuat.abc.com" {
do something...
}
"*jobsuat.abc.com" {
do something else...
}
default {
don't do anything...
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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