Forum Discussion

fujisen's avatar
fujisen
Icon for Nimbostratus rankNimbostratus
Jan 11, 2011

http to https irule

http to https redirect irule question

 

 

10.1.1.2 vip created on 80 andd 443

 

both use pool member 172.1.1.1 on 80

 

 

VIP on 80 has simple rediret irule http to https in place

 

VIP on 443 has client SSL cert installed.

 

 

redirect not working, can you guys advice some basic checks please..

 

 

 

  • Hi,

     

    one question

     

     

    what is the difference between those two:

     

     

    HTTP::redirect "https://[HTTP::host][HTTP::uri]"}

     

    and

     

    HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]

     

     

  • Oct 27 18:45:42 local/tmm info tmm[4672]: Rule myrule : test is www.google.com:80

     

    Oct 27 18:45:42 local/tmm info tmm[4672]: Rule myrule : [getfield www.google.com:80 ":" 1] is www.google.com

     

    Oct 27 18:45:42 local/tmm info tmm[4672]: Rule myrule : [getfield www.google.com:80 ":" 2] is 80

     

     

    hope this helps.