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...
hoolio
Cirrostratus
Jul 08, 2011Hi Stefan,
Thanks for the info. You could also use a local variable to track whether you've done a redirect and then read that in subsequent iRules to avoid trying to do a header insert if you're redirecting (or trying to send a second redirect). I try to stay away from event all disable as it could break other iRule functionality.
Another option is to use logic like this to detect a prior redirect:
http://devcentral.f5.com/wiki/default.aspx/iRules/detect_prior_http_redirect_or_respond.html
Aaron
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