You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by David Kleinman <da...@i-ology.com> on 2002/10/06 00:00:11 UTC

Tomcat with multiple virtual hosts

I have a directory that contains all web related 
files, organized in subdirectories. 

The one that contains the files relevant to regular
HTTP connections (port 80) are inside the www
subdirectory. 

The files relevant to SSL connections (port 443) are
under the ssl subdirectory. 

I want to have the www directory as the root of the
regular connections, and the ssl directory as the root
of the SSL connections.

Right now, tomcat doesn't know how to process the
incoming connections from 443, it points to the /
context for incoming 80 connections.

Here's what I'm using:
======================
Apache-1.3.27
Mod-ssl-2.8.11
jakarta-tomcat.4.1.12
jakarta-ant-1.5.1
jakarta-tomcat-connectors-4.1.12

The only solution I've come up with is to move my ssl
content into the /www dir and to use an Apache DENY
directive to block directory browsing of my JSP Dir.

Has anyone configured tomcat to recognize Apache
virtual hosts?

-David

------- End of forwarded message -------

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>