www.brol.be is pointing to the router that re-route
request for port 80 to the Tomcat server, the IP
address of the router is static and fixed by our ISP.
So every HTTP request will be automaticaly routed to
the Tomcat server.


--- "Turner, John" <[EMAIL PROTECTED]> wrote:
> 
> Ok, but if this is a different machine, I'm still
> not understanding why
> there is even an issue.  If www.brol.be = 1.2.3.4
> and mail.brol.be =
> 6.7.8.9, there's no possible way a request on port
> 80 for mail.brol.be would
> ever be seen by tomcat.
> 
> Sounds like your DNS is messed up.  All you need to
> do is set the correct IP
> addresses for the two hostnames and you should be
> good to go.  Your tomcat
> server should never see requests for mail.brol.be if
> they are separate
> machines.
> 
> If they aren't separate machines, you can't run more
> than one thing on port
> 80, unless you want to setup virtual hosting with
> two separate URLs.  If you
> wanted to do that, you could just write a filter on
> www.brol.be that looks
> at the request header and issues a redirect to
> mail.brol.be if the request
> header is equal to "mail.brol.be".
> 
> John Turner
> [EMAIL PROTECTED]
> 
> 
> -----Original Message-----
> From: Nicolas Brasseur
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 25, 2002 12:14 PM
> To: Tomcat Users List
> Subject: RE: Routing With tomcat
> 
> 
> Thanks for paying attention to my message John,
> 
> Your second proposition is right, I have a web mail
> client, actually a lotus domino server that listen
> on
> the port 80 (for other reasons it MUST be the port
> 80).
> 
> Nicolas
> 
> --- "Turner, John" <[EMAIL PROTECTED]> wrote:
> > 
> > You could use a filter in Tomcat, but that would
> be
> > overkill.
> > 
> > On your router, add a static route for ports 25
> and
> > 110 (SMTP and POP3) to
> > go to the IP address of the other machine.  Add
> the
> > IMAP port if you're
> > using that port.
> > 
> > Or are you really asking how to run a webmail
> server
> > that allows people to
> > check and send mail via webpages served on port 80
> > on a machine other than
> > the tomcat server?
> > 
> > John Turner
> > [EMAIL PROTECTED]
> > 
> > -----Original Message-----
> > From: Nicolas Brasseur
> > [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, July 25, 2002 11:54 AM
> > To: Tomcat Users List
> > Subject: Routing With tomcat
> > 
> > 
> > Could anyone tell me if it is possible to route
> some
> > specific request to another web server.
> > More clearly, when a user type www.brol.be he
> > receives
> > a response from Tomcat, when he type mail.brol.be
> he
> > receives a response from another web server than
> > tomcat.
> > The domain brol.be is pointing to a router that
> > route
> > the request with destination port 80 to the
> machine
> > with the Tomcat server. How can I configure Tomcat
> > to
> > re-route request coming for virtual host
> > mail.brol.be
> > to another machine ...
> > 
> > Thanks in advance ...
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Yahoo! Health - Feel better, live better
> > http://health.yahoo.com
> > 
> > --
> > To unsubscribe, e-mail:
> >
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> > --
> > To unsubscribe, e-mail:  
> >
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> > <mailto:[EMAIL PROTECTED]>
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - Feel better, live better
> http://health.yahoo.com
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to