Forum Discussion
hooleylist
Apr 27, 2007Cirrostratus
So it looks like you want to redirect clients who make a request to http://170.224.107.69/BookStore/SecureCheckOut.do to the same URL via HTTPS. And it seems like everything works up to the point where the client makes a request to that URL via HTTP?
I think the problem is that you've enclosed the HTTP::redirect command in []'s, so the return value is being executed:
[HTTP::redirect https://[HTTP::host][HTTP::uri]]
Can you remove the outer braces and retest?
HTTP::redirect https://[HTTP::host][HTTP::uri]
I would expect you'd find an error logged in /var/log/ltm. It is the log file iRule events are logged to by default (/var/log/ltm). You can view it via the GUI under System | Logs | Local Traffic, or by opening the file via the command line (less /var/log/ltm or tail -f /var/log/ltm).
Aaron