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...
Christopher_Ach
Nimbostratus
May 29, 2012Hi,
We had the same error and this post really helped so thanks everyone.
We had 3 Irules on a VIP and the second iRule has a redirect in it (shown below).
The error was coming from the third iRule. We added "event HTTP_REQUEST disable" into the second iRule (shown below) and it resolved our error.
Here is the iRule
when HTTP_REQUEST {
if { ( ([matchclass [IP::client_addr] equals $::main_page_bypass ])) } {
pool abc
}
elseif { [HTTP::host] eq "xyz.test.com.au"
} {
HTTP::redirect "http://www.abc.com.au/maintenance"
event HTTP_REQUEST disable
}
}
Thanks again
Chris
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