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 <[EMAIL PROTECTED]> wrote:
Would something like this do ? <Host name="mydomain.com" appbase="..."> <Alias>www.mydomain.com</Alias> <Context>...</Context> </Host> --- Jerome Benezech <[EMAIL PROTECTED]> 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 > [EMAIL PROTECTED] > > --------------------------------------------------------------------- > To start a new topic, e-mail: > users@tomcat.apache.org > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > Jerome Benezech [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]