Forum Discussion

ross_02_143242's avatar
ross_02_143242
Icon for Nimbostratus rankNimbostratus
Jan 12, 2015

I Rule _sys_https_redirect will it work with any port number ?

Hi, Does anyone know if it is possible to use the out of the box I Rule "_sys_https_redirect" provided on the F5 Big IP LTM with another port other than HTTPS 443, I am going to use "_sys_https_redirect" to point all HTTP traffic via a VIP to HTTPS traffic with the same VIP IP obviously, From what I can see that is a pretty straight forward exercise, But if the HTTPS port I have built the HTTPS VIP is not default 443, It is in the 8000 range will this stop the I Rule from working ?

 

Thanks

 

Ross

 

2 Replies

  • Hi,

    if you want to redirect to another port, you need to use something like this:

      when HTTP_REQUEST {
      HTTP::redirect https://[getfield [HTTP::host] ":" 1]:8000[HTTP::uri] 
      }