Forum Discussion
Remco
Nov 03, 2011Nimbostratus
Redirecting http request to external url via proxy
Hi,
we are using F5 load balancers for our Internet environment. There is now a requirement during customer login to download a trojan detection script at an external company. But for the cl...
Kurt_Knochner_5
Nov 03, 2011Cirrus
The proxies have been setup in transparent mode for SSL traffic, so they should not be involved in the SSL process. I think my biggest problem is getting the F5 to use a HTTP CONNECT method instead of the standard GET.
If the proxies really do work in transparent mode for SSL you won't need the CONNECT method. CONNECT is only used by HTTP clients when they know about the proxy. In transparent mode the clients don't know there is a proxy and they will just try to connect directly to the target, by issuing a tcp connection to server:443.
So, your ssl server profile should work out of the box.
Let's assume the SSL connection works, then you still need to do this:
1.) Rewrite the URI to the location of the script "[HTTP::uri]"
2.) Rewrite the HOST header "[HTTP::header Host] replace", otherwise the target server might not accept the request.
Regards
Kurt Knochner
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