Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Tomcat Users »

Re: virtual hosting and tomcat wt Apache 2 and JK2

Howard Watson

2004-01-16


Are the Apache connector properties set to match the connector you defined in server.xml? And is a <Location> the right place to set a worker property?

>>> brennon@(protected) >>>

Dear usergroup,

When I activated the following in my Apache 2 config within the VirtualHost
block for xxxxx.xxx.net: <Location "/">

JkUriSet worker ajp13:localhost:8009

</Location>

ALL of my virtual hosts stopped working and started complaining of not being
able to find /index.jsp

It is like the <Location "/"> wasn't confined to the VirtualHost but rather
became a server wide configuration.

When I activated the apache<-->tomcat connection it took over ALL of the
virtual hosts and was routing them through Tomcat, does anyone know how to
stop that?

Is it my Apache 2 and JK2 connectors, where do I turn now?
Thank you in advance,

Brennon Obst


Java Security Programmer
iEnergy Main Branch
39 Melbourne St. / Brisbane
p. (617) 3846-6666
brennon@(protected)




---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@(protected)
For additional commands, e-mail: tomcat-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.