Java Mailing List Archive

http://www.junlu.com/

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

Re: Problem setting server.xml <host> <context> field.

Mark Thomas

2007-01-03

Replies:

Jacob Rhoden wrote:
> Thanks for your reply! I was not aware that mod_jk2 was not the best one
> to use (I assumed 2=apache2). Rather than fixing my mess, how about I
> ask a different question! I am using the latest version of tomcat, I
> would like to have a single version of tomcat running on one port, which
> I can deploy multiple applications.
>
> I would like to use virtual hosts so that:
> mainserver.com:8080/Application1/index.jsp maps to fish.com/index.jsp
> mainserver.com:8080/Application2/index.jsp maps to apples.com/index.jsp

This, soon to be part of the Tomcat docs, how-to may help

http://webtuitive.com/samples/virtual-hosting-howto.jsp

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@(protected)
To unsubscribe, e-mail: users-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

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