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...
Wasim_Hassan_13
Nimbostratus
Oct 29, 2014thanks for the reply you mean to say the irule will look like that
when HTTP_REQUEST { if { (([HTTP::host] equals "abc.com") or ([HTTP::host] equals "www.jobsuat.abc.com")) } { HTTP::redirect "https://ebsdmzuat.abc.com/OA_HTML/IrcVisitor.jsp" } }
or
when HTTP_REQUEST { if { (([HTTP::host] contians "abc.com") { HTTP::redirect "https://ebsdmzuat.abc.com/OA_HTML/IrcVisitor.jsp" } }
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