tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <Allistair.Cross...@QAS.com>
Subject workers2.properties -> uri mapping requests with ports to different tomcats
Date Thu, 05 Aug 2004 09:45:25 GMT
Hi,

I have setup 2 Tomcat instances on the same server. JK2 ISAPI is installed on IIS and running
fine routing all intratestgbr URIs to Tomcat 8009. I have setup anothe website on IIS with
JK2 also, but running on port 84. I now want to map URIs that use port 84 to Tomcat 8011.

The following entries in my workers2.properties file BOTH route to Tomcat 8009 (my first instance).
I wonder if it is possible to use the fact that I have a port on the URL to route to different
AJP tomcat ports???

Thanks!

#### Tomcat Development Instance 1

[channel.socket:localhost:8009]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8009

[ajp13:localhost:8009]
channel=channel.socket:localhost:8009

[uri:intratestgbr/*.do]
info=do
context=/
worker=ajp13:localhost:8009

[uri:intratestgbr/*.jsp]
info=jsp
context=/

#### Tomcat Staging Instance

[channel.socket:localhost:8011]
info=Ajp13 worker, connects to tomcat instance using AJP 1.3 protocol
tomcatId=localhost:8011

[ajp13:localhost:8011]
channel=channel.socket:localhost:8011

[uri:intratestgbr:84/*.do]
info=do
context=/
worker=ajp13:localhost:8011

[uri:intratestgbr:84/*.jsp]
info=jsp
context=/


<FONT SIZE=1 FACE="VERDANA,ARIAL" COLOR=BLUE> 
-------------------------------------------------------
QAS Ltd.
Developers of QuickAddress Software
<a href="http://www.qas.com">www.qas.com</a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474
-------------------------------------------------------
</FONT>


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


Mime
View raw message