...
| Code Block |
|---|
public void customize(org.mortbay.io.EndPoint endpoint, Request request) throws IOException
{
request.setScheme("https");
super.customize(endpoint, request);
}
|
If you need access on Jetty to some of the SSL information accessible on Apache, then you need to some configuration tricks on Apache to insert the SSL info as headers on outgoing requests. Follow the Apache configuration suggestions on this tutorial which shows you how to use mod_headers to insert the appropriate request headers. Of course you will also need to code your application to look for the corresponding custom request headers bearing the ssl information.
mod_proxy_balancer
With apache 2.2 mod_proxy is able to use the extension mod_proxy_balancer
...