Forum Discussion
hooleylist
Aug 03, 2006Cirrostratus
I just tested this rule:
when HTTP_REQUEST {
log local0. "received request from [IP::remote_addr]. Redirecting to https://[getfield [HTTP::host] ":" 1][HTTP::uri]"
HTTP::redirect https://[getfield [HTTP::host] ":" 1][HTTP::uri]
}
And verified that I get redirected correctly. Here is the log entry from /shared/log/ltm:
Aug 3 13:22:14 tmm tmm[7333]: Rule http_https_redirect : received request from 192.168.151.88. Redirecting to https://172.29.0.217/
From the error, it looks like there might be an extra double quote in the log statement after the word 'from'. Can you comment out the log statement with a and retest?
Thanks,
Aaron