Forum Discussion
Keeping the original protocol in a policy
Hello,
I am configuring a policy which will redirect to another URL keeping the original protocol (http or https) and URI.
The URI is OK
tcl:https://newURL.com[HTTP::uri]
How I can do the protocol?
If this is not possible, I guess I can have two rules/actions: one for http, one for https.
Please comment
Thank you
Julio
1 Reply
- Greasy_PretzelRet. Employee
If your virtual listener is listening on both 443 and 80, then you will only need one rule in the local traffic policy. Your matching is based on the URI. Hence, the protocol is not relevant. As when the redirect happens, all original attributes of the requests are maintained and the URI is changed.
If you have separate virtual servers, then you will need to apply the policy to each.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
* 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