Mantis - Resin
Viewing Issue Advanced Details
2639 minor always 04-29-08 17:56 05-12-08 14:43
remilon  
ferg  
normal  
closed 3.1.5  
fixed  
none    
none 3.1.7  
0002639: Allow host rewriting to be disabled in HttpProxyServlet
We are attempting to use HttpProxyServlet to send traffic to a legacy backend server. This server uses virtual hosting, so traffic going to it must have a Host header sent in the request.

We set up the HttpProxyServlet to send traffic like the example in the documentation. However, whatever host or ip address is set in the <init host="blah"/> tag is the one that will be sent in the request to the backend server; the Host from the original request is rewritten. It would be great to be able to turn this off and pass the Host header from the original request unmolested.

Notes
(0003049)
ferg   
05-12-08 14:43   
server/196e