Forum Discussion
Deb_Allen_18
Sep 07, 2006Historic F5 Account
Error on HTTP::header insert
I'm wondering if anyone can shed some light on this error:tmm[1045]: 01220001:3: TCL error: Rule frontend_http - Operation not supported (line 1) invoked from within "HTTP::header insert BIG-IP-PROTO...
Deb_Allen_18
Sep 12, 2006Historic F5 Account
Turns out another iRule was running ahead of this one, sometimes resulting in a redirect which causes the (later, unintended) header insertion attempt to fail (see link above).
We added the line "event disable all" after the conditional redirect in the preceding rule, and modified the redirect itself to include a Connection: Close header (to prevent subsequent requests on same connection from bypassing the iRule logic):
when HTTP_REQUEST {
if { condition }{
HTTP::respond 302 Location https://host.company.com[HTTP::uri] Connection Close
event disable all
}
...
}
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