tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Knaack" <dkna...@rdtech.com>
Subject Re: Documentation on virtual hosting?
Date Fri, 28 Jul 2000 13:57:00 GMT
For each virtual host I have an IP address associated with the eth0
interface (eth0:1, eth0:2, etc).  In /etc/httpd/conf/httpd.conf I have
entries in the following format:

<VirtualHost 00.00.00.00>
        ServerAdmin webmaster@dom.com
        ServerName www.dom.com
        DocumentRoot "/home/webmaster/dom.com"
</VirtualHost>

Where 00.00.00.00 is the ip address and dom.com is the domain name.

Thanks
DK

From: "David M. Holmes" <david_m_holmes@yahoo.com>
> How are you doing your virtual hosts? With Apache?
>
> --- David Knaack <dknaack@rdtech.com> wrote:
> > Greetings,
> >
> > I am attempting to make tomcat work with my virtual hosting setup.  I
have
> > several virtual hosts on a RH linux machine, each on a seperate IP
address.
> > The document root for each site is stored in "/home/webmaster/dom.com"
where
> > "dom.com" is the domain name.  The 'real' website uses the same
structure.
> >
> > I don't want any non-tomcat related files installed in the
> > /usr/local/jakarta-tomcat/ structure.  All JSP and java related files
for
> > any site should be completely contained somewhere under the document
root
> > directory for the domain to which they belong.
> >
> > All the sites are seperate and should not interact with other sites.
> >
> > I do not want a port number to appear anywhere in requested URLs.
> >
> > Do I need to run multiple instances of Tomcat?  If so, how do I launch
and
> > configure each instance?
> >
> > What configuration changes do I have to make to get tomcat to look only
in
> > the /home/webmaster/dom.com directory for files for the dom.com site?
> >
> > Thanks!
> > DK
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Kick off your party with Yahoo! Invites.
> http://invites.yahoo.com/


Mime
View raw message