Forum Discussion
JohnL_247646
Nimbostratus
Apr 13, 2016ACE action-list header rewrite question
I am migrating from ACE to F5. There are a few action-list header rewrite in ACE that I don't know how to convert to F5 equivalent. Basically, the rewrite will change the FQDN from 1 host to anot...
Andy_McGrath
Cumulonimbus
Apr 14, 2016Hi John, I had the same issue not to long ago and thought i have put the code snippet on DevCentral so just added:
HTTP to HTTPS Redirect Rewrite plus port change
For your second example where you trying to remove port form the location header change the following line to remove the ':8443'
lreplace $loc_list 2 2 '[lindex [split [lindex $loc_list 2] ":"] 0]:8443'e.g. Change to
lreplace $loc_list 2 2 '[lindex [split [lindex $loc_list 2] ":"] 0]'Hope this helps
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects