Hi

maybe try this, in server.xml, in tomcat6

<Context path="" docBase="YOUR_CONTEXT_HERE" debug="0" />

after this, every request at http://host will served by the context you
specified here.
No any changes neccessary, as i remember.

regards
Szabi



2007/9/30, Caldarale, Charles R <[EMAIL PROTECTED]>:
>
> > From: Ken Bowen [mailto:[EMAIL PROTECTED]
> > Subject: Re: How to specify a default context?
> >
> > Since I plan to use http://tuckey.org/urlrewrite/ to
> > rewrite URLs, and since "/" will rewrite to "/myapp/",
> > then the request htpp://myhost/ will ending up causing
> > myapp to handle the request.
>
> Yes, using a filter or valve to forward or redirect requests to the
> desired URI should work.
>
> - 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