I'm sorry, what's wrong isn't exactly clear from your post.  What should
http://host0.com show besides the default welcome page?

John


-----Original Message-----
From: J. Norment [mailto:[EMAIL PROTECTED]] 
Sent: Monday, December 16, 2002 4:27 PM
To: Tomcat Users List
Subject: Virtual Domains with Tomcat 4.1.12 Standalone

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]>

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.419 / Virus Database: 235 - Release Date: 11/13/2002
 

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to