Hello,

Thanks for your answer. But I already declared my 2 domains with aliases :
<Host name="tata.com" debug="0" appBase="webapps" unpackWARs="true"
autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"
cookies="false">
        <Alias>toto.com</Alias>
(...)

In fact I need to forward request, after changing its serverName...


-----Message d'origine-----
De : P Y [mailto:[EMAIL PROTECTED] 
Envoyé : lundi 27 février 2006 20:48
À : Tomcat Users List
Objet : Re: Forward to another URL

hi,
You can define multiple <Host> in server.xml
See http://tomcat.apache.org/tomcat-5.0-doc/config/host.html
Best,


On 2/27/06, Pauline CANTALOUP <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have 2 wap sites in one application, and I have to make a homepage which
> will forward users to one of them, depending on their Locale.
> I have to make a forward and not a redirection because this has to be as
> transparency as possible, and sometimes mobile phones display a message in
> case of redirection.
> BUT the only way for my application to know for which site is a request, is
> the complete URL (http://wap.toto.fr or wap.toto.com)
> Somebody told me it was possible to do something with Tomcat but I couldn't
> find anything looking like a solution.
> Could you help me please ?
>
> Thanks
>
> Pauline
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to