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"]]...
Andrew_Abplanal
Nimbostratus
Jan 30, 2007Thanks for the last piece of the puzzle.... it was the "list" function that solved my problem.
if {[HTTP::is_redirect]}{
set find ":25620/"
set replace "/"
set location [HTTP::header value Location]
HTTP::header replace Location [string map [ list $find $replace] $location]
log [string map [ list $find $replace] $location]
log [string map { ":25620/" "/"} $location]
}
}
Jan 30 10:23:51 tmm tmm[1385]: 01220002:6: Rule lng-ln-cert-certlexisgw.lexis.com-http : http://certlexisgw.lexis.com/hbeat/
Jan 30 10:23:51 tmm tmm[1385]: 01220002:6: Rule lng-ln-cert-certlexisgw.lexis.com-http : http://certlexisgw.lexis.com/hbeat/
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