Forum Discussion
Moe_Jartin
Cirrus
Jan 12, 2009F5 Sending TCP RESET
I have an iRule with two parts. The first part prepends a root folder to requests to certain URIs and that is working fine. The second part removes that same root folder from responses from the serv...
hoolio
Cirrostratus
Jan 12, 2009When you see a reset being sent to the client and/or server while testing an iRule, you can check the /var/log/ltm log file for any related errors. I expect you'll see an error about "1" or "0" not being a valid command. If you replace this:
[[HTTP::header value "Content-Type"] contains text]
with this:
[HTTP::header value "Content-Type"] contains text
it should work. The braces act like backticks in *nix to execute the code within them. [HTTP::header value "Content-Type"] contains text would evaluate to 0 or 1 and then the outer braces would try to execute that value as a command.
Aaron
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
