And try adding <Alias>myhost.com</Alias>, instead of changing the host
name.  The latter changes expected dir locations too, which is probably
why your app is broken.

p



Caldarale, Charles R wrote:
>> From: Alan Burlison [mailto:[EMAIL PROTECTED] 
>> Subject: Changing defaultHost from localhost to a FQDN
>>
>> as soon as I change the Engine defaultHost and Host name fields from
>> "localhost" to "myhost.com", everything stops working.
> 
> I just tried the same change, and it all works fine - assuming you have
> made an entry for myhost.com in your hosts file, restarted Tomcat, and
> cleared your browser's cache.
> 
>>     <Connector port="80" />
> 
> I realize the protocol attribute is supposed to default to "HTTP/1.1",
> but just for grins, you might try setting it.
> 
>  - 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 start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


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

Reply via email to