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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


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

Reply via email to