You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hassan Schroeder <ha...@gmail.com> on 2010/07/15 23:19:49 UTC

Re: using Apache as a front end

On Thu, Jul 15, 2010 at 7:02 AM, James Godrej <ja...@yahoo.in> wrote:
> I am looking for an example to use Apache as a front end to two tomcat servers running on different ports on same machine.ProxyPass /site1 http://site1.local.com:8080/ProxyPassReverse /site1 http://site1.local.com:8080/
> as in Apache there is Document Root to serve webpages I found Tomcat uses webapps folder and I need to put in my application there.Which I have done.But how do I configure a ReverseProxy so that some one can reach from internet.I tried looking the ProxyPass documentation but I am not clear with how does it rewrites headers or requests.

I'm not sure of your actual question -- "reach from internet"? And
what "headers" would you imagine being rewritten?

But the mod_proxy and mod_proxy_balancer docs are pretty good,
if you just need to configure a load-balancing front end.

-- 
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan

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