Forum Discussion
daveclark_20228
Nimbostratus
Jun 10, 2009How do i convert this irule to use HTTPS instead of HTTP
Hello
I have this 2 irules , one is to redirect on port and one to redirect on uri. Both are to do the same thing .
I have 2 apps both listen out on https , and terminat...
The_Bhattman
Nimbostratus
Sep 10, 2009Hi Ovdemonz,
The way you are using your VS seems a bit odd to me. Why couldn't you create VS in the following
VS 1 1.1.1.1:80 ---> Pool 3.3.3.3:80
VS 2 1.1.1.1:443---> Pool 3.3.3.3:443
VS 3 1.1.1.1:4343---> Pool 3.3.3.3:4343
Then you can create an irule and apply it on VS 1 and 2
when HTTP_REQUEST {
switch -glob [HTTP::host] {
"*.site.com" { HTTP::redirect "https://www.site.com:4343" }
default { pool pool_A }
}
}
Of course I am making assumptions about why you would create a VS:0 wildcard vs specific VS:80, 443, 4343
hope this helps
CB
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