Forum Discussion
intadm_105683
Nimbostratus
Oct 03, 2007Http_Https_redirect
I would like to create an irule on my LTM unit which enables a redirect from http to https. However, I would to like to append as well anything users types in on url.
Ex. If users types in ...
Oct 03, 2007
No slash is needed. HTTP::uri will never be an empty string, it always starts with a slash.
You might try logging the value to the system log to make sure your inputs are correct.
when HTTP_REQUEST {
log local0. "Redirecting to https://[HTTP::host][HTTP::uri]..."
HTTP::redirect "https://[HTTP::host][HTTP::uri]"
}-Joe
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