On 20.05.2009 17:33, Markus Schönhaber wrote:
> Andre-John Mas:
> 
>> this is not the ideal setup, I don't have any control over this. At  
>> the same time I see that using mod_proxy, by way of ProxyPass, means  
>> that the Tomcat server does not know what hostname was used to access  
>> the Apache server, instead getting http://localhost:8080/ . Is there  
>> any way, probably via configuration of Apache, that this could be  
>> passed to the Tomcat? I looked for information on this, but I could  
>> not find any.
> 
> Instead of mod_proxy_http, I use mod_proxy_ajp. AJP passes the client's
> IP through.

On 20.05.2009 16:59, Caldarale, Charles R wrote:
> Aren't the X-Forwarded-For and X-Forwarded-Host headers being set by
mod_proxy?  The doc indicates they should be:
> http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

.. and finally there's ProxyPreserveHost.

If yo want to get an idea, which other traps are to avoid when using a
reverse proxy, you can also look at

http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html

Regards,

Rainer

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to