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...
nitass
Employee
May 01, 2014i guess there is condition check to decide whether to redirect or not (HTTP::respond) but you sanitized it, isn't it?
so, can you try event priority and event disable something like this?
priority
https://devcentral.f5.com/wiki/iRules.priority.ashxevent
https://devcentral.f5.com/wiki/iRules.event.ashxe.g.
when HTTP_REQUEST priority 100 {
HTTP::respond 301 Location "http://www.company-name.com[HTTP::uri]"
event HTTP_REQUEST disable
}
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