> From: eladm [mailto:[EMAIL PROTECTED] 
> Subject: Re: Deploying to a sub context
> 
> I would like the users to be able to access the "media" 
> context with the url : "http:domain/images/media/".

That's not how you described it in your earlier message, but
nevertheless...

As has been discussed in this mailing list over the past few days:

1) Place your media webapp somewhere other than in your <Host> appBase
directory.  (This avoids double deployment.)

2) Create the file conf/Catalina/[host]/images#media.xml containing a
<Context> element with a docBase attribute that points to the location
of the media webapp.  [host] is normally localhost, unless you've
changed it in Tomcat's conf/server.xml file.

Doc reference:
http://tomcat.apache.org/tomcat-5.5-doc/config/context.html

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

Reply via email to