J
Jonathan M. Rose
I am utilizing mod_jk2 to map from Apache 2.0.50 to JBoss 3.0.8-2. It
works like a champ. What I am trying to do that is giving me a problem
is to utilize regular expressions in the DOMAIN portion of the [uri:...]
mapping statement.
The relevent part of my current workers2.properties file is as follows:
[uri:www.discoveryyearscenters.com/index.jsp]
worker=ajp13:localhost:8809
[uri:www.discoveryyearscenters.com/FNSNEWS/*]
worker=ajp13:localhost:8809
What I would like to do is map more than just the domain
www.discoveryyearscenters.com through to the web application. Meaning I
would like to map discoveryyearscenters.com,
test.discoveryyearscenters.com, etc. through to the web application as
well as www.discoveryyearscenters.com. I can imagine that this would
work something like this...
[uri:*.discoveryyearscenters.com/index.jsp]
worker=ajp13:localhost:8809
[uri:*.discoveryyearscenters.com/FNSNEWS/*]
worker=ajp13:localhost:8809
....but this doesn't work.
Does anyone know how to utilize regular expressions in the
workers2.properties files IN THE DOMAIN NAME as well as the path?
Thank you in advance for your help.
-Jon
--
Jonathan M. Rose
President, Farious Net Solutions
Phone: (866)NET-SOLN; Web: http://www.farious.com
Computer sales and service, Linux deployment and maintenance, low
voltage wiring and Java/database Programming for the northern New
Jersey/New York City area. Call us today!
works like a champ. What I am trying to do that is giving me a problem
is to utilize regular expressions in the DOMAIN portion of the [uri:...]
mapping statement.
The relevent part of my current workers2.properties file is as follows:
[uri:www.discoveryyearscenters.com/index.jsp]
worker=ajp13:localhost:8809
[uri:www.discoveryyearscenters.com/FNSNEWS/*]
worker=ajp13:localhost:8809
What I would like to do is map more than just the domain
www.discoveryyearscenters.com through to the web application. Meaning I
would like to map discoveryyearscenters.com,
test.discoveryyearscenters.com, etc. through to the web application as
well as www.discoveryyearscenters.com. I can imagine that this would
work something like this...
[uri:*.discoveryyearscenters.com/index.jsp]
worker=ajp13:localhost:8809
[uri:*.discoveryyearscenters.com/FNSNEWS/*]
worker=ajp13:localhost:8809
....but this doesn't work.
Does anyone know how to utilize regular expressions in the
workers2.properties files IN THE DOMAIN NAME as well as the path?
Thank you in advance for your help.
-Jon
--
Jonathan M. Rose
President, Farious Net Solutions
Phone: (866)NET-SOLN; Web: http://www.farious.com
Computer sales and service, Linux deployment and maintenance, low
voltage wiring and Java/database Programming for the northern New
Jersey/New York City area. Call us today!