Forum Discussion
Michael_107360
Cirrus
Dec 10, 2013HTTP2HTTPS HTTPS/URI issue
When you type in:
www.website.xyz you go to:
https://www.website.xyz/specific_uri
when you type in:
www.website.xyz/anotherwebpage you go to:
https://www.website.xyz/anyother_uri
This is the Iru...
Christian_30338
Dec 10, 2013Historic F5 Account
hello!
I am not sure if i fully understand your question. But if you want to use the same iRule on the HTTP and HTTPS virtual server try having a look at the TCP::local_port to see if the request is on port 80 or 443. Should be a simple change. Try something like the following.
when HTTP_REQUEST {
if {[TCP::local_port] == 80} {
do some port 80 work
}
otherwise do some non 80 (443) work
}
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