Re: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll
Here it is the whole description of my needs (in my posts I have reported just a part of the problem) and the solution I have found (also thanks to your suggestion): Problem I have a Win 2003 server and I want to run on it several web apps of different customers, each one responding to a different URL. Some of them are written in ASP (and then running under IIS 6) and other ones in Java (running under Tomcat 6). I need that all my web apps can be riched by port 80. Solution Since both IIS and Tomcat cannot be listening on port 80 at the same time, I have thought to leave IIS on port 80 and redirect Java calls to Tomcat using isapi_redirect.dll. 1 - Under Tomcat, I have created a specific virtual host www.teamfarnesevini.it with the same name and alias of my URL and context pointing to my application (TeamFarneseVini under Tomcat 6.0\work\Catalina\www.teamfarnesevini.it\TeamFarneseVini) that has been deployed under this virtual host (here is its definition in server.xml) Host name=localhost appBase=webapps unpackWARs=false autoDeploy=false xmlValidation=false xmlNamespaceAware=false /Host Host name=www.teamfarnesevini.it appBase=webapps unpackWARs=false autoDeploy=false xmlValidation=false xmlNamespaceAware=false Context path= docBase=TeamFarneseVini/ Aliaswww.teamfarnesevini.it/Alias /Host 2 - Under IIS I have configured the dll and the web site teamfarnesevini.it pointing to the phisical dir of my application as shown in http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html 3 - I have created the worker 4 - In the uriworkermap.properties I have added the following lines: /TeamFarneseVini=ajp13 /TeamFarneseVini/*.jsp=ajp13 /TeamFarneseVini/*.do=ajp13 /*.*=ajp13 Now all seems to work correctly, but if you have a simplest solution I would be very happy! In particular, I don't think that the last directive in uriworkermap /*.*=ajp13 is very clear... but without it it doesn't work! Thanks for your help Mirko -- View this message in context: http://old.nabble.com/Problem-redirecting-requests-from-IIS-to-Tomcat-by-isapi_redirect.dll-tp27893887p27933369.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll
Well, I need to install on the same physical machine multiple application running under Tomcat, let's say - MyApp1 - URL www.myapp1.it - MyApp2 - URL www.myapp2.it What I need is that both application can be launched simply asking for respectively www.myapp1.it and www.myapp2.it using port 80. I've tried to obtain this connecting IIS with Tomcat, but maybe I can use Virtual Hosting. Could you please explain me how to do it? Thanks -- View this message in context: http://old.nabble.com/Problem-redirecting-requests-from-IIS-to-Tomcat-by-isapi_redirect.dll-tp27893887p27916856.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll
Thanks for your answers, but maybe I have not been enaugh clear. What I want is that my web application can be launched asking for www.myapp.it and, in the future, deploy other web apps on the same physical machine under Tomcat, each one responding to a diffferent URL (all pointing to the IP address of my machine). I've tried to do this using IIS and Tomcat communication mechanism, but it doesn't work. Any other suggest? -- View this message in context: http://old.nabble.com/Problem-redirecting-requests-from-IIS-to-Tomcat-by-isapi_redirect.dll-tp27893887p27911392.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll
Thanks for your answers, but maybe I have not been enaugh clear. What I want is that my web application can be launched asking for www.myapp.it and, in the future, deploy other web apps on the same physical machine under Tomcat, each one responding to a diffferent URL (all pointing to the IP address of my machine). I've tried to do this using IIS and Tomcat communication mechanism, but it doesn't work. Any other suggest? -- View this message in context: http://old.nabble.com/Problem-redirecting-requests-from-IIS-to-Tomcat-by-isapi_redirect.dll-tp27893887p27911408.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Problem redirecting requests from IIS to Tomcat by isapi_redirect.dll
Hi, I'm trying to redirect requests from IIS 6 to Tomcat 6. I've followed the instructions reported in the official Tomcat documentation: http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html http://tomcat.apache.org/connectors-doc/generic_howto/workers.html http://tomcat.apache.org/connectors-doc/reference/uriworkermap.html In particular, I've created: - the required registry key - the web app MyApp under Tomcat - the web site MyApp under IIS containing the virtual directory MyApp pointing to the fisical directory of the Tomcat web app (further than the jakarta virtual dir) with host header value www.myapp.it and ISAPI filter as shown in the docs I'm using isapi_redirect.dll ver. 1.2.30, the operating system is Win 2003. Now, asking for www.myapp.it I am only redirected on Tomcat main page, but MyApp is not started. To access it, I have to ask for www.myapp.it/MyApp but what I want is to start the application asking simply for www.myapp.it. Any suggest is appriciated!!! thanks in advance Mirko -- View this message in context: http://old.nabble.com/Problem-redirecting-requests-from-IIS-to-Tomcat-by-isapi_redirect.dll-tp27893887p27893887.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org