You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Allistair Crossley <Al...@QAS.com> on 2004/08/05 11:45:25 UTC
workers2.properties -> uri mapping requests with ports to different
tomcats
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