As Tim said, there is nothing bundled with Tomcat to do this,
but you can easily write your own proxy to do this.
You'll have something like :
http://[MyPublicProxy]/mail
http://[MyPublicProxy]/accountWebManager
http://[MyPublicProxy]/phpApps
with mail, accountWebManager, phpApps that are servlets in the proxy webapp 
that send HTTP request to the correct server.
These servlets can use an HTTP client like 
http://jakarta.apache.org/commons/httpclient/

It's not a very light solution (I think it is better to do a reverse proxy and 
filter your requests in apache) 
but it can work.
Regards

On Tue, 24 May 2005 12:12:30 +0200 (CEST)
Borja Bravo Alférez <[EMAIL PROTECTED]> wrote:

> 
> 
> Dear Tomcat Users,
> 
>       I have been working on an interesting problem. I need to give
> access to several servers in a private network.
> 
>       Lets say that there are:
> 
>       http://192.168.1.2/mail
>       http://192.168.1.3/accountWebManager
>       http://192.168.1.4/phpApps
>       http://192.168.1.5/aspApps
>       http://192.168.1.6/...
> 
> And I need to give access from the exterior. So, It will be great to be
> able con make theh visible in tomcat. Something like:
> 
>       http://[MyPublicIP]/[myContext]/[Route]/mail
>       http://[MyPublicIP]/[myContext]/[Route]/accountWebManager
>       http://[MyPublicIP]/[myContext]/[Route]/phpApps
>       http://[MyPublicIP]/[myContext]/[Route]/aspApps
>       http://[MyPublicIP]/[myContext]/[Route]/...
> 
> I Know this can be done at least with the Apache server but I need to do
> it in Tomcat in order to use a Java filter con controll access to some
> resources.
> 
> It is possible to do this with Tomcat? Where could yoyu help me with this?
> 
> Thanks in advance,
> 
>       Borja
> 
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to