subject says it all. What I want is to map each sub domain to a webapp like:
http://root.domain.com:8080 -> http://domain.com:8080/
http://manager.domain.
Can you try nesting each web app as the root webapp within the <Host>
in server.xml by giving path=""
. I havent tried this myself.
<Host name="bbstats.localhost" appBase="webapps">
<Context path="" docBase="/bbstats/"/>
</Host>
<Host name="tomcatstuff.localhost" appBase="webapps">
<Context path="" docBase="/tomcatstuff/"/>
</Host>