httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lenny Sorey" <lrso...@fatdot.com>
Subject [users@httpd] Apache 2.0.48 Virtualhost with Tomcat
Date Thu, 18 Dec 2003 04:05:39 GMT

I have two  Apache 2.0.48 / Tomcat 4.1.29 where I have 
both servers running with JK/2 connector.

The server is a W2K server (No IIS)

I can bring up both local Tomcat sites respectively with the following:

http://localhost/thegoodsite

and

http://localhost/therealgoodsite



Both websites will share the same IP address.

My webapp are located in the following directories

D:\java\Tomcat41\webapps\thegoodsite

D:\java\Tomcat41\webapps\therealgoodsite

My question is how do I define the DocumentRoot
reference in each VirtualHost section and do I need to reference 
JKMOUNT for each VirtualHost?

I don't have any html's in Apache. Nothing but all jsp's
in Tomcat webapps

Thanks in advance for your help.

Lenny Sorey




NameVirtualHost 172.20.30.40

<VirtualHost 172.20.30.40>

DocumentRoot /www/example1
ServerName www.thegoodsite.com

</VirtualHost>

<VirtualHost 172.20.30.40>

DocumentRoot /www/example2
ServerName www.therealgoodsite.com

</VirtualHost>



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message