HTTP to HTTPS Location rewrite with custom port
Problem this snippet solves: The SSL port is assigned in the following line:
lreplace $loc_list 2 2 [lindex [split [lindex $loc_list 2] ":"] 0]:80
change the ':80' to any required port...
Updated Jun 06, 2023
Version 2.0Andy_McGrath
Cumulonimbus
Joined November 14, 2005
7Samurai
Jan 26, 2017Nimbostratus
Same comment as above. What gives? Does anyone read these comments? This irule, as written, generates the errors Pavel Stoyanov pasted above. How do we fix this?