You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andrea Mari <ma...@tin.it> on 2001/05/22 23:20:48 UTC

virtual host

Hi,
I've 2 virtual hosts: xxx.doamin.com and yyy.domain.com, configured in
server.xml (Tomcat 3.2.1) and httpd.conf (Apache 1.3.x).

Can I share the WEB-INF directory between these two virtual hosts?

Thanks
Andrea


Re: virtual host

Posted by Andrea Mari <ma...@tin.it>.
I would a site on www.domain.com and another site on wap.domain.com. they
are the web and the wap site.

I would also that .jsp files are always sent to Tomcat , even if I call
www.domain.com/first.jsp or wwww.domain.com/folder1/second.jsp (th same
thing for the wap.domain.com).

How do I configure Tomcat and Apache?

Thanks
Andrea
----- Original Message -----
From: "Martin van den Bemt" <mv...@mvdb.com>
To: <to...@jakarta.apache.org>
Sent: Wednesday, May 23, 2001 11:56 PM
Subject: RE: virtual host


> What's the use of making virtual hosts in tomcat then? (if the full
content
> of WEB-INF is the same...).. Just leave the "virtual hosting" to apache. I
> never set a virtual host in tomcat in my life ;-)) (they all just call the
> same context on there "own" host).
>
> Mvgr,
> Martin
>
> > -----Original Message-----
> > From: Andrea Mari [mailto:mari.and@tin.it]
> > Sent: Tuesday, May 22, 2001 11:21 PM
> > To: tomcat-user@jakarta.apache.org
> > Subject: virtual host
> >
> >
> > Hi,
> > I've 2 virtual hosts: xxx.doamin.com and yyy.domain.com, configured in
> > server.xml (Tomcat 3.2.1) and httpd.conf (Apache 1.3.x).
> >
> > Can I share the WEB-INF directory between these two virtual hosts?
> >
> > Thanks
> > Andrea
> >
> >
>


RE: virtual host

Posted by Martin van den Bemt <mv...@mvdb.com>.
What's the use of making virtual hosts in tomcat then? (if the full content
of WEB-INF is the same...).. Just leave the "virtual hosting" to apache. I
never set a virtual host in tomcat in my life ;-)) (they all just call the
same context on there "own" host).

Mvgr,
Martin

> -----Original Message-----
> From: Andrea Mari [mailto:mari.and@tin.it]
> Sent: Tuesday, May 22, 2001 11:21 PM
> To: tomcat-user@jakarta.apache.org
> Subject: virtual host
>
>
> Hi,
> I've 2 virtual hosts: xxx.doamin.com and yyy.domain.com, configured in
> server.xml (Tomcat 3.2.1) and httpd.conf (Apache 1.3.x).
>
> Can I share the WEB-INF directory between these two virtual hosts?
>
> Thanks
> Andrea
>
>