Forum Discussion
Albert__Tase_70
Nimbostratus
Apr 27, 2007need help with Irule redirect and persistance
hello I have the following irule applied:
when HTTP_REQUEST {
if { [HTTP::uri] contains "BookStore/SecureCheckOut.do" } {
[HTTP::redirect https://[HTTP::host][HTTP::uri]]
...
hoolio
Cirrostratus
Apr 30, 2007With the extra brackets, TMM tries to execute the return value of the redirect. When using the extra brackets, I see the following error in the /var/log/ltm file:
Apr 30 14:36:35 tmm tmm[1074]: 01220001:3: TCL error: Rule test_rule - invalid command name "" while executing "[HTTP::redirect https://[HTTP::host][HTTP::uri]]"
If I remove the outer braces, no error is generated.
Can you try viewing the ltm log file on the command line using 'less /var/log/ltm' or copy the file off the BIG-IP using WinSCP and then use a Windows text editor to view the log?
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