royceking_18057
Jan 23, 2015Cirrus
Operation not supported (line 5) invoked from within "HTTP::header insert
I am passing the client-ip in a header with the name client-ip with the following iRule.
when HTTP_REQUEST {
Strip off the %n route domain notation from the client IP address
and insert it into a custom HTTP header named client-ip
HTTP::header insert client-ip [getfield [IP::client_addr] "%" 1]
}
This is working great for me since my application is looking for the header with the name client-ip. However, my syslogs are getting pounded with the following error:
- Operation not supported (line 5) invoked from within "HTTP::header insert client-ip [getfield [IP::client_addr] "%" 1]
From things that I have read it sounds like it is throwing this because the request is getting redirected from another iRule ahead of this. This is most likely the case. How do I make things play nicely with each other? I need the redirects and the header insert.