Forum Discussion
Roman_80473
Nov 29, 2011Nimbostratus
Redirect to another URL from inside HTTP::REQUEST after timeout detected
Hi guys,
I have setup the timer using the 'after' command inside HTTP_REQUEST which I then cancel in HTTP_RESPONSE. I detect timeout and take node out of the mix. I then need to redirect req...
Roman_80473
Nov 30, 2011Nimbostratus
Hi nitass,
Thanks for your reply. Yes, I've tried the "&", and LTM has choked on the syntax:
Rule Smart_LB_Rule : 1. Taking node 10.2.178.121:8001 out of the mix ...
TCL error: Smart_LB_Rule - invalid command name "host=10.2.178.121&" while executing "host=$server_addr&"
Funny thing is that this scenario works fine inside LB_FAILED (when server is down), and I do get redirected to the controller url. The same goes for HTTP_RESPONSE when I detect http code > 500. I have a feeling it's the "after" command pecularities which prevent me from doing redirect.
Thank you,
Roman
PS: You must have edited your post while I've been trying your suggestion :)
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