[jetty-user] Jetty Asynchronous Proxy Servlet - HOST name Question

"Dave Kimball" <[email protected]>
Newsgroups gmane.comp.java.jetty.support
Message-ID <F2D076FEB238A944AEAF883F899C6D3628B4A1@TPIExchange.telepartner.com>
 

I've set up Jetty 6.1.23 with the Jetty Transparent proxy servlet on a
Windows 2008 server. For a number of sites the proxy works fine.

 

For Google (and some others) it fails. Google returns HTTP 404 - Not
Found.

 

Without the proxy the same request succeeds. Using Wireshark on the
Jetty server. One difference I see is that the HTTP "Host:" parameter
sent to Google is that of my server, not 'maps.google.com'. I have
another proxy (GeoServer Extension) that does change the HOST: name on
proxied requests.

 

I don't know if this is the cause. Does anyone have an idea?

 

I didn't see any parameters that I could set to force the proxy to use
the destination URI name as the HOST name. Is there a parameter I
missed?

 

Thanks,

 

Dave Kimball
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.