Hi, I'm on my way to give up the apache tomcat servlet engine!!! I just can't figure out how to configure the server to response to multiple host!
Can anyone see what I'm doing wrong? This is what I have understood. 1. Install IIS to use isapi_redirect.dll http://www.vacodi.com/howto/tomcat/iisnt/index.html 2. Create these folders and documents in mysite.com |- root (folder) |--- web-inf (folder) |--------- classes (folder) |--------- lib (folder) |--------- web.xml (document, just the default) |- logs (folder) 3. Define a host in server.xml config file: ******** <!-- Start av www.mysite.com --> <host name="www.mysite.com" appbase="D:\\Inetpub\\mysite.com" unpackWARs="true"> <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs" prefix="mysite_com_access_log." suffix=".txt" pattern="common"/> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="mysite_com_log." suffix=".txt" timestamp="true"/> <context path="/servlets" docbase="servlets" debug="0" privileged="true"/> <Context path="" docBase="root" debug="0"/> </host> ****** 4. Configure uriworkermap.properties: ******* # # Default worker to be used through our mappings # default.worker=ajp13 # # Sites to be redirected to Tomcat # /servlets=$(default.worker) /servlets/*=$(default.worker) /*.jsp==$(default.worker) ******* Thanks for any help, Alexander Höglind