Forum Discussion
muzammil_88686
Nimbostratus
Mar 27, 2012HTTPS Traffic
Hi Guys,
We have a virtual server with the service HTTPS.
We want to do the following.
1) All the HTTPS requests "/abc*" and "/xyz*" should go the pool "HTTPS_Pool" or else they should go to the another pool "NEW_Pool"
( NOTE: here "/abc*" means "/abc/x" or "/abc/y" or "/abc/z"...etc
Also the same is applicable for "/xyz*" )
when HTTP_REQUEST priority 10 {
switch -glob [HTTP::path] {
"/abc*" -
"/xyz*" { pool HTTPS_Pool }
default { pool NEW_Pool }
}
}
Could you pls let me know if the above rule can good?
3 Replies
- hoolio
Cirrostratus
Hi,
That looks correct assuming you have a client SSL and server SSL profile added to the virtual server and the NEW_Pool servers are expecting HTTPS.
Aaron - muzammil_88686
Nimbostratus
Thank you Aaron for your response.
It is not working for HTTPS and it is redirecting to HTTP
BTW, the same rule is working for HTTP - hoolio
Cirrostratus
Can you add a custom HTTP profile with rewrite redirects enabled to the HTTPS virtual server?
Aaron
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