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]

Reply via email to