Forum Discussion
Justin_Vo_48203
Nimbostratus
Jun 25, 2008redirect irule and log error
Hi,
I have a redirect iRule for http to https. It has been working for a while but now it doesn't redirect the browser. A packet capture indicate the virtual server return the redirecti...
Colin_Walker_12
Jun 25, 2008Historic F5 Account
This looks like an issue with quotes. Make sure to escape all the quotes in the line you want logged with a \, otherwise they're going to terminate your log line.
Like this:
log local0. "redirect to https://[getfield [HTTP::host] \":\" 1][HTTP::uri]"
Colin
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