On 24/08/2009 08:03, Gerardo Corro wrote:

Hi,

I need the intercept the calls (/*) to all webapps since these are actually wap 
apps; many handsets cannot process properly the 302 redirect code, so I need to 
deliver the final result of forward redirects to clients.

I'm already able to process all follow redirects, I just need to put the proxy 
in front of the web-apps.

If you can alter the webapps at a little, e.g. by adding a Servlet Filter, you could intercept and process the calls to each webapp.

Otherwise you'd need to run a separate Tomcat and place it in front of the other Tomcats so it can intercept the calls.

 http://tomcatproxy/   -->   http://appserver1:8080/webapp1

p

I cannot add Apache either, all I can do is to fix it from Tomcat

Thanks a lot.






Date: Sun, 23 Aug 2009 23:45:58 +0200
From: a...@ice-sa.com
To: users@tomcat.apache.org
Subject: Re: Connector set up

Gerardo Corro wrote:
Hi,

The purpose is to set-up an independent web-app as a proxy for other webapps. I 
cannot touch the 6 original webapps, but I can do whatever I want with the 
proxy one.

How can I get all requests to any of these webapps be intercepted by the proxy 
one?

There may be a way to do that, but it sounds quite complicated, and we
do not understand your purpose in wanting to do that.
Maybe if you explained exactly /why/ (*) you want to intercept the calls
to those webapps, someone may be able to help.

(*) meaning : to do what before you forward the call ?
If it is just to change the URL, then again, look at the urlrewrite
filter.  Or use an Apache httpd in front of your Tomcat, with
mod_rewrite and (mod_proxy or mod_jk).


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


_________________________________________________________________
Share your memories online with anyone you want.
http://www.microsoft.com/middleeast/windows/windowslive/products/photos-share.aspx?tab=1


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

Reply via email to