Forum Discussion

Stephane_Bernar's avatar
Stephane_Bernar
Icon for Nimbostratus rankNimbostratus
Jan 05, 2007

Irule and Port redirection

All,

 

 

i need to redirect traffic from http (80) to https but instead of the port 443 i need to go to 3213.

 

 

How do i modify the basic following iRule:

 

 

when HTTP_REQUEST {

 

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

 

}

 

 

Take care

1 Reply

  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    when HTTP_REQUEST {
    HTTP::redirect https://[HTTP::host]:3213[HTTP::uri]
    }