Forum Discussion
Keith_Bobitt_10
Nimbostratus
Jun 01, 2005Https to http redirect
I have the following rule defined and applied:
if (http_uri contains "/test/app") {
redirect to "http://pilot:7777/app/"
}
else {
use pool OracleWeb
}
The URL coming in is:
https://www.somehost.org/test/app/
I need to redirect to:
http://pilot:7777/app/
The rule doesn't seem to work. Any Advice?
Thanks
3 Replies
- bknotwell_12713Historic F5 AccountHi Keith--
Assuming I understand your problem correctly, you're not going to be successful without using a proxy that points at your (probably moved to the loopback) virtual server.
Specifically, I think you're trying to look inside a packet that's encrypted. Unless you terminate the encryption with a proxy, you'll not be able to do the redirect.
Good luck! - Keith_Bobitt_10
Nimbostratus
Thanks for the reply.
Perhaps a little more info.
www.somehost.org is our forward facing F5 which hosts the certs for everything behind it.
Pilot is a machine behind the F5.
Shouldn't the F5 be able to recognize the string in the incoming URI and do the redirect?
Thanks - bknotwell_12713Historic F5 AccountIs the request coming in unencrypted? If it is (because it's terminated at the previous machine or at the current machine), you should be able to recognize the uri without a problem.
If it's *still* encrypted, we won't be able to see it unless it's terminated at a local proxy (which is targetted at a pool).
Good luck!
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
