You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Geoff Wiggs <gw...@orcastech.com> on 2005/04/05 19:59:29 UTC

Apache - JK2 - Tomcat Question

I have a 'newbie' jk2 / Tomcat question.

I am running Tomcat behind Apache with mod_jk2 interfacing the two.

If I hit the URL www.myserver.com/contextname I get the JSP/servlet that I
am hoping for.  I am using the correct mapping ([URI:/contextname/*]) in the
workers2.properties and everything up to this point makes sense.

I am also running multiple virtual hosts through Apache.  I want to be able
to hit URLs such as dev.myserver.com or www.myVirtualServer.com/contextname.
If I use a redirect in the Apache httpd file, I can redirect the incoming
request back to www.myserver.com/context, but this seems hocky.  

How do I 'connect' alternate inbound URLs to a Tomcat context?  What is
controlling the connection between www.myserver.com and Tomcat?  

This is a great list and I really appreciate all the advice that I've
gleaned from it so far.

PS - Using Tomcat 5.5 and Apache 2.?

Regards,

Geoff Wiggs
Orcas Technologies, Inc
gwiggs@orcastech.com




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


RE: Apache - JK2 - Tomcat Question

Posted by "Richard Mixon (qwest)" <rn...@qwest.net>.
Geoff Wiggs wrote:
> I have a 'newbie' jk2 / Tomcat question.
>
> I am running Tomcat behind Apache with mod_jk2 interfacing the two.
<snip>

Just so you are aware, jk2 is deprecated in favor of jk. As of version
1.2.10 of jk, most useful features in jk2 should be in jk.

See http://jakarta.apache.org/tomcat/connectors-doc/

This does not mean you cannot use jk2, it just has little support if
any.

HTH - Richard


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