tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Reynolds" <jim.jreyn...@gmail.com>
Subject Host element question
Date Wed, 13 Dec 2006 15:54:00 GMT
Hello,

Every new install of Tomcat always has a <Host name of localhost> and
that is good.

If I do not have a DNS entry, can I create another <Host> and use a
name of something bogus? Something for me to play with on my local PC?

I tried something like this:
<Host name="localhost" appBase="webapps">

      </Host>

      <Host name="dev" debug="0" appBase="devme"
         unpackWARs="true" autoDeploy="true">
             <Context path="" docBase=""
                  debug="5" reloadable="true" crossContext="true" />

       </Host>

And if I hit http://localhost all is happy
But if I hit http://dev nothing pops up?

Anyone?

Thanks,

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message