Difference between revisions of "Port changing"

From Tech-Wiki
Jump to: navigation, search
(Created page with "Category:F5 Networks '''Back to iRules''' when HTTP_REQUEST { if { [TCP::local_port] == 8400 } { HTTP::redirect https://[getfield [HTTP::host...")
 
 
Line 2: Line 2:
 
'''[[F5 Networks#iRules|Back to iRules]]'''
 
'''[[F5 Networks#iRules|Back to iRules]]'''
  
when HTTP_REQUEST {
+
when HTTP_REQUEST {
 
   if { [TCP::local_port] == 8400 } {
 
   if { [TCP::local_port] == 8400 } {
 
     HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
 
     HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
 
   }
 
   }
}
+
}

Latest revision as of 18:50, 20 May 2019

Back to iRules

when HTTP_REQUEST {
 if { [TCP::local_port] == 8400 } {
   HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
 }
}