tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mgai...@hotmail.com
Subject Re: I want two application web like root in the same Tomcat
Date Thu, 08 Nov 2007 14:01:41 GMT
Hi Joan-

with apache front end you can use mod_rewrite to rewrite the URL
http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html

With Tomcat you will need to put on the architect's hat to determine why
have 2 webapps when you only need one webapp(ROOT)
If the 2 webapps accomplish the same functionality and have basically the
same startup parameters and same access capabilities then merge
otherwise keep the apps separate..

Anyone else?
M--

----- Original Message -----
Wrom: WLSZLKBRNVWWCUFPEGAUTFJMVRESKPNKMBIPBARHDMNNSKV
To: <users@tomcat.apache.org>
Sent: Thursday, November 08, 2007 6:26 AM
Subject: I want two application web like root in the same Tomcat


Hi,

I want to install two application web like ROOT application, because I need:

- Hidden context's name of url like:

    http://<domain>/ where domain is a virtual host and its source code is
in application web into webapps, so now when I try to show this domain I
have to write http://domain/<name_context>/index.jsp (for example) and I
don't want it.

If I move source code from my context to ROOT context, It runs.

But I have a problem because I have other application and I want make the
same, but I have only ROOT application.

Resume:

Into webapps I have app1 and app2, and both I want hidden their name_context
in the url.

How I do it?

Thanks

Joan



____________________________________________
Joan Monplet Ortega -SoloStocks-
Departament Tècnic
Tel. 902 024 312 - Fax. 93 504 56 05
joan@solostocks.com <mailto:joan@solostocks.com>
jmonplet@grupointercom.com <mailto:jmonplet@grupointercom.com>

Este mensaje y los documentos que, en su caso, lleve anexos, pueden contener
información confidencial. Por ello, se informa a quien lo reciba por error
que la información contenida en el mismo es reservada y su uso no autorizado
está prohibido legalmente, por lo que en tal caso le rogamos que nos lo
comunique por la misma vía o por teléfono (+34 93 504 5639) , se abstenga de
realizar copias del mensaje o remitirlo o entregarlo a terceras personas y
proceda a borrarlo de inmediato.



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


Mime
View raw message