tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abdul Qayyum" <qayy...@gmail.com>
Subject Re: Tomcat URL redirect ?
Date Fri, 18 May 2007 09:55:17 GMT
Hi

Will this approach redirect the page to other when one is under reloading or
upgration?

The situation is that, we want to send a customised error page when our
website is under upgration. It will approximately take 1 hour for uploading
a new war file on our server. During this time I want to show some custom
page.

Thank You.
Regards:
Sagri

On 5/18/07, Jerome Benezech <jbenezech@yahoo.com> wrote:
>
> Would something like this do ?
>
> <Host name="mydomain.com" appbase="...">
> <Alias>www.mydomain.com</Alias>
> <Context>...</Context>
> </Host>
>
> --- Jerome Benezech <jbenezech@yahoo.com> wrote:
>
> > Hi,
> >
> > Is there a way to configure Tomcat so that the URL
> > http://www.mydomain.com/myapp would be the same as
> > http://mydomain.com/mywebapp ?
> >
> > I noticed that Tomcat creates 2 directories under
> > $TOMCAT_HOME/work/Catalina:
> >
> > $TOMCAT_HOME/work/Catalina/mydomain.com
> > and
> > $TOMCAT_HOME/work/Catalina/www.mydomain.com
> >
> > Then each directory has its own cache files for my
> > webapp. So everything works as if I had 2 webapps
> > (www.mydomain.com and mydomain.com). This means that
> > the amount of memory used by the server is double
> > and
> > also that if a user authenticates itself using
> > www.mydomain.com, he would not be authenticated
> > under
> > mydomain.com.
> >
> > Thanks
> > Jerome
> >
> >
> > Jerome Benezech
> > jbenezech@yahoo.com
> >
> >
> ---------------------------------------------------------------------
> > 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
> >
> >
>
>
> Jerome Benezech
> jbenezech@yahoo.com
>
> ---------------------------------------------------------------------
> 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