tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pauline CANTALOUP" <Pauline.CANTAL...@indexmultimedia.com>
Subject RE: Forward to another URL
Date Tue, 28 Feb 2006 10:52:29 GMT
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:py.foucou@gmail.com] 
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 <Pauline.CANTALOUP@indexmultimedia.com> 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: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message