tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claudio Greuter" <c...@iph.ch>
Subject Tomcat And IIS: Mapping different Host headers to the same Webapplication Instance
Date Wed, 25 Oct 2006 09:41:44 GMT
Hi List

We are using a CMS (Magnolia) running on Tomcat to publish content for
several webs. 

The CMS is one single Web application which locks some database files
upon loading. This means I cannot load the same web application in
different contexts or hosts, because the CMS throws errors because the
Database is already locked. So I can only configure tomcat with one
context:

http://Localhost:8080/magnoliaAuthor

The web sites have an URL path below this, for example:
http://Localhost:8080/magnoliaAuthor/customer/site1/...
http://Localhost:8080/magnoliaAuthor/customer/site2/...


In front of this we are having IIS running to serve some static contents
as well as other dynamic stuff(php, Asp) and the website addresses
should be mapped from IIS to Tomcat in the following way:

http://www.site1.ch -->
http://Localhost:8080/customer/magnoliaAuthor/site1/
http://www.site2.ch -->
http://Localhost:8080/customer/magnoliaAuthor/site1/

I tried this using JK2, however it seems that I would have to create a
separate context for each site, which is not possible because of the
mentioned database locks.

Is there a procedure I could follow or perhaps someone of you has an
idea how to solve this.

Many thanks in advance:

Claudio


********************************************
IPH Informatik AG
Herr Claudio Greuter 
Lagerhausstrasse 9
8400 Winterthur
Switzerland
Tel: 		+41 (0)52 203 26 72
Fax: 		+41 (0)52 233 94 71
Email:	c.gr@iph.ch
********************************************


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