Hi!
I wanted to do something similar. (but without the two virtual hosts).

I did like this:

# The directory the user sees
RewriteRule ^/test/aaa/(.*) /tomcat-dir/$1 [PT]
RewriteRule ^/test/bbb/(.*) /tomcat-dir/stuff/$1 [PT]

# The directory tomcat serves the stuff on:
<Location /tomcat-dir/>
  SetEnv JK_WORKER_NAME workername
  SetHandler jakarta-servlet
</Location>


David Harrison wrote:
I wish to map different Apache urls across to specific Tomcat contexts,
for example:
http://app1.example.com/ to TOMCAT/app1.
http://app2.example.com/ to TOMCAT/app2

---------------------------------------------------------------------
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