tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szabolcs Márton" <marton.szabo...@gmail.com>
Subject Re: How to specify a default context?
Date Tue, 02 Oct 2007 15:02:55 GMT
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 <Chuck.Caldarale@unisys.com>:
>
> > From: Ken Bowen [mailto:kbowen@als.com]
> > 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message