Right, but in many cases (especially in a corporate environment), non-standard ports are inaccessible. Users may be able to access ports 25, 80, and 110, but not 81, 8080, or 8000 on a remote host. Sometimes, port 80 is the only option.
John Turner [EMAIL PROTECTED] -----Original Message----- From: Mike Jackson [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 1:36 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: Routing With tomcat Tomcat isn't a router. What you're trying to do isn't really a tomcat question, it's more a general web server question, or router question. If you don't have another ip address then I really recommend that you just map another port on the router to the other webserver. That's the simpliest and easiest solution and it's what routers are made to do. --mikej -=----- mike jackson [EMAIL PROTECTED] -----Original Message----- From: Nicolas Brasseur [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 10:24 AM To: Tomcat Users List Subject: RE: Routing With tomcat So, you confirm Tomcat is unable to re-route HTTP request based on the virtual hostname ? Don't you know a kind of software-router able to do that ? Thanks a lot ... --- "Turner, John" <[EMAIL PROTECTED]> wrote: > > My advice is get a second IP from your ISP for > mail.brol.be. > > If these are different machines, and you are > "hiding" behind one routable IP > address, you're going to have problems. You don't > tomcat invoked/involved > in every single request to the webmail server, and > yet if the webmail server > isn't available on port 80, you will have problems > with end-users, as most > corporate firewalls restrict traffic to port 80. > > John Turner > [EMAIL PROTECTED] > > -----Original Message----- > From: Nicolas Brasseur > [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 12:36 PM > To: Tomcat Users List > Subject: RE: Routing With tomcat > > > 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]> > > -- > === message truncated === __________________________________________________ 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>