I haven't seen this question answered yet: I'm trying to set up virtual domains with Tomcat 4.1.12. ( Not running Apache ) I have modified my server.xml file as follows.
webapps/host0 contains a basic index.html . What might I be doing wrong? (http://host0.com shows the default index.jsp. ) Is there a way to see the information that Tomcat receives when http://host0.com is requested? ( thanks ) <!-- Define the default virtual host --> <Host name="localhost" debug="0" appBase="webapps" unpackWARs="true" autoDeploy="true"> <!-- This part is added: --> <Host name="host0.com" debug="0" appBase="webapps/host0" unpackWARs="true"> <Logger className="org.apache.catalina.logger.FileLogger" directory="logs" prefix="host0." suffix=".log" timestamp="true"/> <Context path="" docBase="webapps/host0" debug="0" reloadable="true"/> <Context path="/test" docBase="webapps/host0" debug="0" reloadable="true"/> </Host> <!-- End, added part. --> <!-- Normally, users must authenticate themselves to each web app individually. Uncomment the following entry if you would like a user to be authenticated the first time they encounter a resource protected by a security constraint, and then have that user identity maintained across *all* web applications contained in this virtual host. --> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
