Hi All,

Linux version 2.6.8.1-12mdksmp
Sun JDK1.4.2
Apache-2.0.54 (domains: web.myserver.com, mobile.myserver.com)
jakarta-tomcat-connectors-jk2-2.0.4
jakarta-tomcat-5.0.28 X 2

I have an apache web server which is connecting 2 tomcat application
servers with apache-tomcat connector. Now I am going to register 2
domains, web.myserver.com and mobile.myserver.com, for the apache web
server. I have an idea as follows.

When the apache web server receive the request using web.myserver.com
domain, it will forward to tomcat 1 and if it receive the request using
mobile.myserver.com domain, it will forward to tomcat 2.

I have tried to edit the URI pattern on worker.properties file, but it
does not work.
[uri:/web.myserver.com/.*.jsp]
group=lb1
[uri:/mobile.myserver.com/.*.jsp]
group=lb2

[uri:*web.myserver.com/.*.jsp]
group=lb1
[uri:*mobile.myserver.com/.*.jsp]
group=lb2

[uri:http://web.myserver.com/.*.jsp]
group=lb1
[uri:http://mobile.myserver.com/.*.jsp]
group=lb2

Is it possible to do that? And how to config it if it is possible? Thanks!!!

Kalmn



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to