Forum Discussion
wwalla_99196
Nimbostratus
Jul 14, 2009generic ssl redirect from http
Could someone post the iRule:
ssl to http redirect so that when users go to http://www.mysite.com it redirects them to https://www.mysite.com
Many thanks!!
hoolio
Cirrostratus
Jul 15, 2009Hi,
The codeshare has a few examples:
http://devcentral.f5.com/Wiki/default.aspx/iRules.CodeShare
HTTPToHTTPSRedirect_301 - Redirects all traffic to same hostname, same URI over https by issuing a redirect with status 301 (Moved Permanently).
HTTPToHTTPSRedirect_302 - Redirects all traffic to same hostname, same URI over https by issuing a redirect with status 302 (Moved Temporarily).
Aaron
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