You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "BENTOUHAMI MB Malek (DCL)" <Ma...@clf-dexia.com> on 2007/04/18 13:57:19 UTC
How to create a kind of alias in tomcat
Hello,
I'd like to connect to my application at
http://10.124.40.29:9090/ORGEWI/PLATFORM/FRENCH/EWICHART/JAVA/L1.html
but users need to connect via http://10.124.40.29:9090/organigramme
how to proceed ?
fyi : Calendra / tomcat v4
many applications with context file ORGEWI.xml
Tks,
Malek
RE: How to create a kind of alias in tomcat
Posted by "BENTOUHAMI MB Malek (DCL)" <Ma...@clf-dexia.com>.
I think I have to add an alias to context file orgewi.xml. I will try this afternoon and give you feedbacks.
-----Message d'origine-----
De : Johnny Kewl [mailto:john@kewlstuff.co.za]
Envoyé : jeudi 19 avril 2007 10:23
À : Tomcat Users List
Objet : Re: How to create a kind of alias in tomcat
Yes... I imagined thats what you had... but you said you also wanted users the get through
with http://10.124.40.29:9090/organigramme to the same page...
How did you do that??
----- Original Message -----
From: "BENTOUHAMI MB Malek (DCL)" <Ma...@clf-dexia.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Thursday, April 19, 2007 9:29 AM
Subject: RE: How to create a kind of alias in tomcat
Thank you Johnny, I found a solution that consists to add
<welcome-file-list>
<welcome-file>/PLATFORM/FRENCH/EWICHART/JAVA/L1.html</welcome-file>
</welcome-file-list>
In the web.xml file
I have to find a solution to point the name of the application to an alias.
Rgds,
Malek
-----Message d'origine-----
De : Johnny Kewl [mailto:john@kewlstuff.co.za]
Envoyé : mercredi 18 avril 2007 17:17
À : Tomcat Users List
Objet : Re: How to create a kind of alias in tomcat
Thing about these questions is always depends on what you really after...
One way would be browser redirection.... ie stick this in the header of the
index file under organigramme <meta http-equiv="refresh" content="N;
URL=other-web-address">
and the way I like but I always get.... too much hassel moans and groans...
Is create a servlet and just map the urls that u want to recieve to it...
then with a little code... dispatch the call to the required page... or just
use the a tomcat redirect.... like this
Check incoming URL.... and....
response.sendRedirect(newUrl);
Or stick apache in front .... and use its Aliases or Virtual Hosting....
----- Original Message -----
From: "BENTOUHAMI MB Malek (DCL)" <Ma...@clf-dexia.com>
To: <us...@tomcat.apache.org>
Sent: Wednesday, April 18, 2007 1:57 PM
Subject: How to create a kind of alias in tomcat
Hello,
I'd like to connect to my application at
http://10.124.40.29:9090/ORGEWI/PLATFORM/FRENCH/EWICHART/JAVA/L1.html
but users need to connect via http://10.124.40.29:9090/organigramme
how to proceed ?
fyi : Calendra / tomcat v4
many applications with context file ORGEWI.xml
Tks,
Malek
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: How to create a kind of alias in tomcat
Posted by Johnny Kewl <jo...@kewlstuff.co.za>.
Yes... I imagined thats what you had... but you said you also wanted users
the get through
with http://10.124.40.29:9090/organigramme to the same page...
How did you do that??
----- Original Message -----
From: "BENTOUHAMI MB Malek (DCL)" <Ma...@clf-dexia.com>
To: "Tomcat Users List" <us...@tomcat.apache.org>
Sent: Thursday, April 19, 2007 9:29 AM
Subject: RE: How to create a kind of alias in tomcat
Thank you Johnny, I found a solution that consists to add
<welcome-file-list>
<welcome-file>/PLATFORM/FRENCH/EWICHART/JAVA/L1.html</welcome-file>
</welcome-file-list>
In the web.xml file
I have to find a solution to point the name of the application to an alias.
Rgds,
Malek
-----Message d'origine-----
De : Johnny Kewl [mailto:john@kewlstuff.co.za]
Envoyé : mercredi 18 avril 2007 17:17
À : Tomcat Users List
Objet : Re: How to create a kind of alias in tomcat
Thing about these questions is always depends on what you really after...
One way would be browser redirection.... ie stick this in the header of the
index file under organigramme <meta http-equiv="refresh" content="N;
URL=other-web-address">
and the way I like but I always get.... too much hassel moans and groans...
Is create a servlet and just map the urls that u want to recieve to it...
then with a little code... dispatch the call to the required page... or just
use the a tomcat redirect.... like this
Check incoming URL.... and....
response.sendRedirect(newUrl);
Or stick apache in front .... and use its Aliases or Virtual Hosting....
----- Original Message -----
From: "BENTOUHAMI MB Malek (DCL)" <Ma...@clf-dexia.com>
To: <us...@tomcat.apache.org>
Sent: Wednesday, April 18, 2007 1:57 PM
Subject: How to create a kind of alias in tomcat
Hello,
I'd like to connect to my application at
http://10.124.40.29:9090/ORGEWI/PLATFORM/FRENCH/EWICHART/JAVA/L1.html
but users need to connect via http://10.124.40.29:9090/organigramme
how to proceed ?
fyi : Calendra / tomcat v4
many applications with context file ORGEWI.xml
Tks,
Malek
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
RE: How to create a kind of alias in tomcat
Posted by "BENTOUHAMI MB Malek (DCL)" <Ma...@clf-dexia.com>.
Thank you Johnny, I found a solution that consists to add
<welcome-file-list>
<welcome-file>/PLATFORM/FRENCH/EWICHART/JAVA/L1.html</welcome-file>
</welcome-file-list>
In the web.xml file
I have to find a solution to point the name of the application to an alias.
Rgds,
Malek
-----Message d'origine-----
De : Johnny Kewl [mailto:john@kewlstuff.co.za]
Envoyé : mercredi 18 avril 2007 17:17
À : Tomcat Users List
Objet : Re: How to create a kind of alias in tomcat
Thing about these questions is always depends on what you really after...
One way would be browser redirection.... ie stick this in the header of the index file under organigramme <meta http-equiv="refresh" content="N; URL=other-web-address">
and the way I like but I always get.... too much hassel moans and groans...
Is create a servlet and just map the urls that u want to recieve to it...
then with a little code... dispatch the call to the required page... or just use the a tomcat redirect.... like this
Check incoming URL.... and....
response.sendRedirect(newUrl);
Or stick apache in front .... and use its Aliases or Virtual Hosting....
----- Original Message -----
From: "BENTOUHAMI MB Malek (DCL)" <Ma...@clf-dexia.com>
To: <us...@tomcat.apache.org>
Sent: Wednesday, April 18, 2007 1:57 PM
Subject: How to create a kind of alias in tomcat
Hello,
I'd like to connect to my application at
http://10.124.40.29:9090/ORGEWI/PLATFORM/FRENCH/EWICHART/JAVA/L1.html
but users need to connect via http://10.124.40.29:9090/organigramme
how to proceed ?
fyi : Calendra / tomcat v4
many applications with context file ORGEWI.xml
Tks,
Malek
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: How to create a kind of alias in tomcat
Posted by Johnny Kewl <jo...@kewlstuff.co.za>.
Thing about these questions is always depends on what you really after...
One way would be browser redirection.... ie stick this in the header of the
index file under organigramme
<meta http-equiv="refresh" content="N; URL=other-web-address">
and the way I like but I always get.... too much hassel moans and groans...
Is create a servlet and just map the urls that u want to recieve to it...
then with a little code... dispatch the call to the required page... or just
use the a tomcat redirect.... like this
Check incoming URL.... and....
response.sendRedirect(newUrl);
Or stick apache in front .... and use its Aliases or Virtual Hosting....
----- Original Message -----
From: "BENTOUHAMI MB Malek (DCL)" <Ma...@clf-dexia.com>
To: <us...@tomcat.apache.org>
Sent: Wednesday, April 18, 2007 1:57 PM
Subject: How to create a kind of alias in tomcat
Hello,
I'd like to connect to my application at
http://10.124.40.29:9090/ORGEWI/PLATFORM/FRENCH/EWICHART/JAVA/L1.html
but users need to connect via http://10.124.40.29:9090/organigramme
how to proceed ?
fyi : Calendra / tomcat v4
many applications with context file ORGEWI.xml
Tks,
Malek
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org