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"/>
                        <Alias>"www.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

Reply via email to