Each virtual host gets a Host element/container in server.xml.
In that Host element, create a Context for the path.
For example, in a default Tomcat install:
Host name=localhost appBase=webapps
Context path=/examples docBase=examples
So in your case:
Host name=www.domain2.com
AM
To: 'Tomcat Users List'
Subject: RE: apache + tomcat 4.0.1 + virtual host
Each virtual host gets a Host element/container in server.xml.
In that Host element, create a Context for the path.
For example, in a default Tomcat install:
Host name=localhost appBase=webapps
Context
, 2002 11:30 AM
To: 'Tomcat Users List'
Subject: RE: apache + tomcat 4.0.1 + virtual host
Each virtual host gets a Host element/container in server.xml.
In that Host element, create a Context for the path.
For example, in a default Tomcat install:
Host name=localhost appBase=webapps