Forum Discussion

Tom_Lauwereins_'s avatar
Tom_Lauwereins_
Icon for Nimbostratus rankNimbostratus
May 03, 2012

HTTP to HTTPS: rederiction

Hello,

 

 

I have to redirect HTTP to HTTPS with an iRUle.

 

No problem with that, but also I have to skip the ":80" into the URL.

 

 

So when the client requests eg:

 

 

http://www.mysite.com:80/page.html it has to be redirected to

 

https://www.mysite.com/page.html

 

 

Grtz

 

 

Tom

 

 

1 Reply

  • Hi Tom,

     

     

    Here's a codeshare entry for this scenario:

     

     

    https://devcentral.f5.com/wiki/iRules.HTTPToHTTPSRedirect_301.ashx

     

     

    Aaron