Now in configuring the virtual host, Google has come out, tossing a while, must not
such as
Www.abc.com and www.xyz.com are all JSP sites, to put it on the same machine.
The specific situation is that the page file of ABC.com is placed in D: /jakarta-tomcat-5.5.4/webapps/root, has been running normal; now you need to join XYZ.com, let two sites shared machines.
Used is IIS 5 (Win2K Server) Tomcat 5.5.4 and connects IIS with Tomcat with JK 1.2.8 (Isapi_Redirect.dll).
Just now, it is also very simple, huh, huh.
Suppose the page file of ABC.COM is placed in d: /jakarta-tomcat-5.5.4/webapps/root
XYZ.com's page is placed in D: /jakarta-tomcat-5.5.4/xyz/root
Then you have the following configuration in the Tomcat's server.xml:
Unpackwars = "true" autodeploy = "true"
Xmlvalidation = "false" xmlnamespaceaWare = "false">
Unpackwars = "true" autodeploy = "true"
Xmlvalidation = "false" xmlnamespaceaWare = "false">
I think that the opening source software in Tomcat is that the document is insufficient. There is less information on the official site, and the developers are generally unwilling to write documents, huh, huh. Google is also good.
reference:
1. Server.xml Description:
Http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html
2. Iis how to:
http://jakarta.apache.org/tomcat/connectors-doc/howto/Iis.htm