Forum Discussion
Sriram_129909
Nimbostratus
May 01, 2014iRule errors out on Insert operation
The following snippet of iRule broke my Virtual in 10.4 but works fine in 11.2
HTTP::header insert F5-Unique-Id $md5var
The following is the error I got:
TCL error: tcop_hslog - Oper...
Kevin_Stewart
Employee
May 01, 2014In any case:
when HTTP_REQUEST {
HTTP::respond 301 Location "http://www.company-name.com[HTTP::uri]"
}
would cause an infinite loop if the URL is pointing to itself. If it isn't pointing to itself, then priority would matter here. If this iRule fired first, then none of the other iRule logic should be applied. If it fired last, then you have a situation where you're doing a redirect (an egress function) and inserting a header (ingress function) at the same time. That would cause an error.
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