Thanks. I have been thinking about this too, but this is C code and I hate to touch it.
Another important thing is I need a Routing table, which is configured via web interface. If everything is Apache based, I may have to use PHP or Tomcat separately to handle web interface. The data has to somehow to pass to Apache server. It seems to legacy. That is why I am thinking modifying Tomcat. Mission impossible? Thank you. Jim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yoav Shapira Sent: Friday, January 26, 2007 3:44 PM To: Tomcat Developers List Subject: Re: Create a proxy server over Tomcat Apache httpd and mod_proxy? http://httpd.apache.org/docs/2.2/mod/mod_proxy.html Yoav On 1/26/07, Guo, Weiping (Jim) <[EMAIL PROTECTED]> wrote: > Hi everybody, > > > > I am looking for a solution based on Tomcat, but I am not sure how much > efforts are needed. Can you give me some suggestions? Thanks. > > > > What I need to do: > > > > (1) Get a HTTPRequest, then based on the URI and content to > determine the destination. It will be forwarded through a secured > tunnel; > > (2) For a HTTPS request. It will establish SSL over the tunnel, > forward it to the other end of the tunnel. > > > > If this function is developed using Servlet, it is just too late, and it > seems have little control over the underlying connections. Therefore, I > want to have the requests forwarded before reaching 'servlet'. Is that > possible? Which module should I customize? > > > > Thank you. > > > > Guo > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]