> From: Scott Purcell [mailto:[EMAIL PROTECTED] 
> Subject: Tomcat 5.5 configure site to web problems
> 
> This is my server.xml file:
>     <Host name="www.myniftysite.com" appBase="webapps/"
>        unpackWARs="true" autoDeploy="true"
>        xmlValidation="false" xmlNamespaceAware="false">
>         <Context path="" docBase="/mySite" />

The above was not really necessary.  Within Tomcat's <Host> tag,
"localhost" refers to 0.0.0.0, not 127.0.0.1, so by default it listens
for any connection requests coming in to your system on any IP address -
you don't have to define an additional <Host> element to match your DNS
name.  You really only need multiple <Host> entries if you want
different sets of webapps for different IP addresses.  Try going back to
your original configuration and referencing your Tomcat installation
with your purchased name.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

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

Reply via email to