Forum Discussion
Deepak123_16590
Nimbostratus
Aug 06, 2014how to do simple redirection using iRule
Hello,
I have a site www.myserver.com which is not registered with SSL. But I have a certificate for https://myserver.com. Can anyone help putting an iRule where when user access www.myserver.com it redirect to https://myserver.com ?
Much appreciate
3 Replies
- Kevin_Davies_40
Nacreous
when HTTP_REQUEST { if {[HTTP::host] eq "www.myserver.com"} { HTTP::redirect "https://myserver.com[HTTP::uri]" } } - Deepak123_16590
Nimbostratus
Thanks Kevin :)
- Kevin_Davies_40
Nacreous
Don't forget to tick the left of the post that provided the answer for you. This provides recognition to the volunteers help others on this site.
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