Forum Discussion
Anhtuan_Huynh_1
Nimbostratus
Nov 29, 2005iRule to redirect to new pool and sending it to the SSL proxy (HTTPS) does not work
Hi all -
I have a little problem that could probably be answered
very quickly here given the expertised. I have included
data from the techout ran on the bigip.
platform...
Anhtuan_Huynh_1
Nimbostratus
Dec 03, 2005mmac,
what we want to do is when users go to "http://www.stress.inttra.com" the get redirected to
the original pool "WLUI-POOL" giving them "https://stress.inttra.com". but when they put
"newapp" after "http://stress.inttra.com/, i.e http://www.stress.inttra.com/newapp". they should
get redirected to "https://www.stress.inttra.com/newapp". notice the "http(s)". the session should
still go through the VS (172.16.20.243), but the difference is, they get redirected to the new web
server pool call "APACHE_WEB_POOL" trough the original session, but hit the SSL proxy therefore encryption
their session. This works if i take out the redirect to " https://%h/newapp" and use "use pool APACHE_WEB_POOL"
in my irule. but the problem is, the traffic is only http not https.
load balancing rules
rule Redirect_Rule {
redirect to "https://%h/"
}
rule STWLUI_RULE {
if (http_uri contains "newapp") {
redirect to " https://%h/newapp"
}
else {
redirect to " https://%h/CTP.ecocp"
}
}
virtual 127.0.0.243:80 unit 1 {
use pool WLUI-POOL
}
proxy 172.16.20.243:443 unit 1 {
target virtual 127.0.0.243:80
clientssl enable
clientssl key www.stress.inttra.com.key
clientssl cert www.stress.inttra.com.crt
clientssl cipher insert enable
clientssl ciphers "EXPORT40:HIGH:MEDIUM"
redirects rewrite all
}
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