> How can I do this? My web app points to ROOT.war.
>
> <Host name="localhost"  appBase="webapps"
>            unpackWARs="true" autoDeploy="true"
>            xmlValidation="false" xmlNamespaceAware="false">
>                <Alias>www.mysite.com</Alias>
>                <Alias>mysite.com</Alias>
>      </Host>

If you're hitting the same server through both URLs then your DNS
sounds like it's fine. So now you just need to configure your
application to redirect requests from http://mysite.com to
http://www.mysite.com.You could do this using the urlRewriteFilter:-

http://tuckey.org/urlrewrite/

Or alternatively if you're using Apache you could do it through mod_rewrite.

Cheers,
Phil.

---------------------------------------------------------------------
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