On 12/09/2010 22:09, Caldarale, Charles R wrote:
>> From: Wesley Acheson [mailto:wesley.ache...@gmail.com] 
>> Subject: Re: Tomcat & IIS - Understanding Context definition to access 
>> Webapps
> 
>>> I create in conf/Catalina/localhost a new file called webSiteA.xml with 
>>> this content:
> 
>> try creating it in conf/Catalina/webSiteA
> 
> Need to be more explicit; the file must be named ROOT.xml (case sensitive), 
> in the above directory.
> 
>>> <Context path="/" reloadable="true" docBase="C:\Inetpub\wwwroot\SiteA"
>>> distributable="true">
> 
>> The path element will be ignored.
> 
> It's not valid at all when the <Context> element is in the above location.  
> (For what it's worth, the value specified is completely illegal; a plain 
> slash is never used.)  Also, there is no distributable attribute for 
> <Context>, so get rid of that as well.

Also, be wary of publishing any part of this URL directly via IIS:

 C:\Inetpub\wwwroot\SiteA

Any config errors and your app components are exposed.


p

> 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: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 

Attachment: 0x62590808.asc
Description: application/pgp-keys

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to