You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Zach Calvert <Za...@floodsource.com> on 2006/11/20 21:31:59 UTC

Proxy/Forwarding

Is there a way to configure tomcat to forward all requests to another
server?  IE I have someone hitting http://241.12.5.80:90 and I want it
to forward all of it's requests on port 90 to http://241.12.5.81.90?
 
I'm looking at http://tomcat.apache.org/tomcat-4.1-doc/proxy-howto.html,
but I'm using Tomcat 1.4.
 
 
Thanks,
Zach Calvert

RE: Proxy/Forwarding

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Zach Calvert [mailto:Zach.Calvert@floodsource.com] 
> Subject: RE: Proxy/Forwarding
> 
> I'm looking at the valve list at
> http://tomcat.apache.org/tomcat-4.1-doc/config/valve.htmland 
> not seeing any kind of proxy/forward valve.

You would need to write your own.

The references to httpd are for when you're front-ending Tomcat with
httpd, not Tomcat standalone.

 - 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: Proxy/Forwarding

Posted by Zach Calvert <Za...@floodsource.com>.
I just discovered
http://www.ericsson.com/mobilityworld/sub/open/technologies/open_develop
ment_tips/docs/odt_proxy_for_tomcat, but it seems that this
documentation is outdated.  I tried putting the same properties it
identifies for catalina.properties in the catalina.policy,
jk2.properties, and I created a catalina.properties to see if it would
work there.  It does not.

Anyone got any other suggestions for setting up Tomcat 4.1 as a proxy?


Thanks,
Zach



-----Original Message-----
From: Zach Calvert [mailto:Zach.Calvert@floodsource.com] 
Sent: Monday, November 20, 2006 3:03 PM
To: Tomcat Users List
Subject: RE: Proxy/Forwarding

I'm looking at the valve list at
http://tomcat.apache.org/tomcat-4.1-doc/config/valve.htmland not seeing
any kind of proxy/forward valve.  The engine configuration docs at
http://tomcat.apache.org/tomcat-4.1-doc/config/engine.html, aren't any
help for setting up a proxy server either.


Thanks again,
Zach

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com]
Sent: Monday, November 20, 2006 2:46 PM
To: Tomcat Users List
Subject: RE: Proxy/Forwarding

> From: Zach Calvert [mailto:Zach.Calvert@floodsource.com]
> Subject: Proxy/Forwarding
> 
> Is there a way to configure tomcat to forward all requests to another 
> server?

Use a valve at the <Engine> level.

> I'm looking at
> http://tomcat.apache.org/tomcat-4.1-doc/proxy-howto.html,
> but I'm using Tomcat 1.4.

Tomcat 1.4?  You must be kidding.

 - 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


---------------------------------------------------------------------
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


---------------------------------------------------------------------
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: Proxy/Forwarding

Posted by Zach Calvert <Za...@floodsource.com>.
I'm looking at the valve list at
http://tomcat.apache.org/tomcat-4.1-doc/config/valve.htmland not seeing
any kind of proxy/forward valve.  The engine configuration docs at
http://tomcat.apache.org/tomcat-4.1-doc/config/engine.html, aren't any
help for setting up a proxy server either.


Thanks again,
Zach

-----Original Message-----
From: Caldarale, Charles R [mailto:Chuck.Caldarale@unisys.com] 
Sent: Monday, November 20, 2006 2:46 PM
To: Tomcat Users List
Subject: RE: Proxy/Forwarding

> From: Zach Calvert [mailto:Zach.Calvert@floodsource.com]
> Subject: Proxy/Forwarding
> 
> Is there a way to configure tomcat to forward all requests to another 
> server?

Use a valve at the <Engine> level.

> I'm looking at
> http://tomcat.apache.org/tomcat-4.1-doc/proxy-howto.html,
> but I'm using Tomcat 1.4.

Tomcat 1.4?  You must be kidding.

 - 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


---------------------------------------------------------------------
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: Proxy/Forwarding

Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: Zach Calvert [mailto:Zach.Calvert@floodsource.com] 
> Subject: Proxy/Forwarding
> 
> Is there a way to configure tomcat to forward all requests to another
> server?

Use a valve at the <Engine> level.

> I'm looking at 
> http://tomcat.apache.org/tomcat-4.1-doc/proxy-howto.html,
> but I'm using Tomcat 1.4.

Tomcat 1.4?  You must be kidding.

 - 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: Proxy/Forwarding

Posted by Zach Calvert <Za...@floodsource.com>.
I just realized I'm actually using Tomcat 4.1, but the documentation is
still not helpful.  Where do I find the httpd.conf file for configuring
the ProxyPass???


Thanks again,
Zach Calvert

-----Original Message-----
From: Zach Calvert [mailto:Zach.Calvert@floodsource.com] 
Sent: Monday, November 20, 2006 2:32 PM
To: Tomcat Users List
Subject: Proxy/Forwarding

Is there a way to configure tomcat to forward all requests to another
server?  IE I have someone hitting http://241.12.5.80:90 and I want it
to forward all of it's requests on port 90 to http://241.12.5.81.90?
 
I'm looking at http://tomcat.apache.org/tomcat-4.1-doc/proxy-howto.html,
but I'm using Tomcat 1.4.
 
 
Thanks,
Zach Calvert

---------------------------------------------------------------------
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