Forum Discussion
ERLomboy_27803
Nimbostratus
May 09, 2017Help with iRule syntax
Hi members,
Need help with iRule programming. can someone help provide assistance to have this script work?
when HTTP_REQUEST {
if { not ([class match [string [IP::local_addr] ]] conta...
Stanislas_Piro2
Cumulonimbus
May 09, 2017Hi,
you can try this version:
when HTTP_REQUEST {
if { not ([class match [string [IP::local_addr] ] contains ApiGWHosts]) } {
foreach header {idm_header} { HTTP::header remove $header }
}
}
there was 1 closing bracket I removed and a space I added between
} and { at the end of if conditionHelp 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
