tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pid...@pidster.com>
Subject Re: JkMount changing webapp context
Date Tue, 11 Dec 2007 17:29:46 GMT
Carlo Montanari wrote:
> I'm not sure whether this is the best mailing list for the question,
> feel free to blame me if it isn't.
> I have a simple configuration with apache 2.2.6, mod_jk 1.2.25 and
> tomcat 6.0.14.
> In tomcat I have a web application running, say /myapp, that I want to
> publish in apache as the root application of a dedicated virtualhost.
> In other words, when the users ask for http://www.myapphost.tld/, they
> should see the content of http://localhost:8009/myapp/
> Is it possible to achieve this result using only connector's
> configuration, or should I work on apache's side, maybe doing some trick
> with mod_rewrite?

No need. Just name the webapp "ROOT", which is a special name, and
deploy it in the appropriate Tomcat virtual host.

There's plenty of info in the configuration docs.

http://tomcat.apache.org/



> Is it unusual the requirement of mapping each web application as the
> root of a virtualhost?

Not so much no.

p




> Thanks, bye
> 
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message