Forum Moderators: phranque
I'm not sure if this still applies to Tomcat 4 (probably does) but in v3 you could use virtual hosts in the same way as regular Apache, by putting something similar to this in your httpd.conf file:
NameVirtualHost 10.0.0.1
<virtualhost 10.0.0.1>
DocumentRoot /home/www/whatever
ServerName www.example.com
</virtualhost>
That would set Apache to serve up files from /home/www/whatever in response to requests to www.example/com on IP 10.0.0.1
You could then put the extra Tomcat configuration directives (eg ApJServMount) within <virtualhost></virtualhost> to enable jsp on that site.