You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by bajistaman <ba...@gmail.com> on 2007/10/05 01:04:18 UTC

Setup a Proxy in Tomcat

Is there a way to map a local context to a remote one with tomcat? 
I mean:

http://localhost:8080/somename-->http://remotehost/someothername

I know that this can be done with Apache Http Server but I'm trying to avoid
the need to install one.

(BTW I'm using Tomcat 5.5.20)

Thanks,

Johann
-- 
View this message in context: http://www.nabble.com/Setup-a-Proxy-in-Tomcat-tf4572073.html#a13050590
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


RE: Setup a Proxy in Tomcat

Posted by bajistaman <ba...@gmail.com>.

Caldarale, Charles R wrote:
> 
> Write a filter that does a redirect.  I believe that
> http://tuckey.org/urlrewrite/ has this capability, but I haven't tried
> it myself.
> 
Thanks Charles, I have already created a filter using commons.httpclient but
the performance that I'm having is not what I expect to get. I will check
urlrewrite.

Johann

-- 
View this message in context: http://www.nabble.com/Setup-a-Proxy-in-Tomcat-tf4572073.html#a13058361
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


RE: Setup a Proxy in Tomcat

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: bajistaman [mailto:bajistaman@gmail.com] 
> Subject: Setup a Proxy in Tomcat
> 
> Is there a way to map a local context to a remote one with tomcat? 

Write a filter that does a redirect.  I believe that
http://tuckey.org/urlrewrite/ has this capability, but I haven't tried
it myself.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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


Re: Setup a Proxy in Tomcat

Posted by Tim Funk <fu...@joedog.org>.
Its not ready for high volume but for most sites which are low volume- i 
would think its OK

-Tim

bajistaman wrote:
> 
> Tim Funk wrote:
>> This should work:
>>
>> http://sourceforge.net/projects/j2ep/
>>
> Thanks Tim, It looks like what I need, Have you tried it?, Does it have good
> performance?

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


Re: Setup a Proxy in Tomcat

Posted by bajistaman <ba...@gmail.com>.

Tim Funk wrote:
> 
> This should work:
> 
> http://sourceforge.net/projects/j2ep/
> 
Thanks Tim, It looks like what I need, Have you tried it?, Does it have good
performance?

Johann
-- 
View this message in context: http://www.nabble.com/Setup-a-Proxy-in-Tomcat-tf4572073.html#a13058364
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Re: Setup a Proxy in Tomcat

Posted by Tim Funk <fu...@joedog.org>.
This should work:

http://sourceforge.net/projects/j2ep/

-Tim

bajistaman wrote:
> Is there a way to map a local context to a remote one with tomcat? 
> I mean:
> 
> http://localhost:8080/somename-->http://remotehost/someothername
> 
> I know that this can be done with Apache Http Server but I'm trying to avoid
> the need to install one.
> 
> (BTW I'm using Tomcat 5.5.20)
> 
> Thanks,
> 
> Johann


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