Hi, > -----Original Message----- > From: Odo [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 08, 2002 11:33 AM > To: Tomcat Users List > Subject: Default Servlet > > > Dear gurus. > I am running Apache+Tomcat4. > > Please help me on the following: > 1.How should I configure tomcat and apache to run on the same port 80.
No way, only one application can listen specific port on specific IP. > 2.If both in port 80, How should I configure apache that every request > like http://test.myserver.com will be redirected to only one servlet > http://test.myserver.com/servlet/Myservlet not using web.xml's welcome? > You should set your servlet as default one for default context. You can define default context in server.xml or just use ROOT, and you should map your servlet to "/" in your web.xml Try with docs or ask again for xml samples. And it looks like you don't need Apache at all if you want ALL requests go to Tomcat. > (In my case I ought not use web.xml because I want every request should > passed to servlet Myservlet only directly!) > > > Anton -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
