Forum Discussion
Davean_Hosang_1
Nimbostratus
Feb 15, 2007HTTPS-to-HTTPS redirect
Hello,
I am trying to redirect an https URL to another https URL and am not able to. Can someone let me know if this is possible? My rule scenarios are below.
******************************
virtual 12.x.x.x:443 unit 1 {
use rule RDC-Redirect-test
rule RDC-Redirect-test {
if (http_host contains "app.domain1.com") {
redirect to "https://myapps.domain2.com/%u"
}
else {
discard
}
******************************
virtual 12.x.x.x:443 unit 1 {
use rule RDC-Redirect-test
}
rule RDC-Redirect-test {
redirect to "https://myapps.domain2.com/%u"
******************************
3 Replies
Sort By
- Martin_MachacekHistoric F5 AccountDavean,
rule RDC-Redirect-test { if (http_host contains "app.domain1.com") { redirect to "https://myapps.domain2.com/%u" } else { discard } } virtual 127.0.0.1:8888 unit 1 { use rule RDC-Redirect-test } proxy 12.x.x.x:443 unit 1 { target virtual 127.0.0.1:8888 clientssl enable clientssl key clientssl cert }
- Davean_Hosang_1
Nimbostratus
I figured the encryption had something to do with it. unfortunately another certificate is not an option right now. I appreciate the info. This was a great of help!! Thanks! - Davean_Hosang_1
Nimbostratus
Actually, I took what you said and created a self signed certificate. since it redirected the request I didn't get prompt that this certificate was not valid, which is what I didn't want my users to see.
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