Forum Discussion
Ted_Kircos_1126
Nimbostratus
Nov 24, 2006Need help - Before i pull my hair out!!!
Getting the following trying to add the irule below... Im stumped... Anyone see whats wrong or how to fix it? line 8: [undefined procedure: http://] ["http://" + [HTTP::header "AP_LOCHOST"]]...
Chad_Roberts_21
Nimbostratus
Nov 28, 2006I believe hoolio meant for the following to be a format example, not an actual line in your code.
set my_new_string [string map {$find1 $replace1 $find2 $replace2} $original_string]
In other words, just change the "set newlocation" line as it was originally typed (or, rather, in your current rule replace the line above with the line below) to:
set newlocation [string map {$find $replace} $location]
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