Apache2, Tomcat5 and Virtual domains

Apache2, Tomcat5 and Virtual domains

am 12.08.2007 20:46:37 von Chris Baty

Hi guys,
I'm trying to get Tomcat5 to run a virtual domain working on a Debian
box. The confusing part to me is that I'm also running 2 virtual
domains on Apache2. I edited server.xml on Tomcat5 but I got my
Apache2 default page. How do I tell Apache2 that this domain belongs
to Tomcat?
Thanks
Chris

Re: Apache2, Tomcat5 and Virtual domains

am 13.08.2007 06:20:39 von cs.st.ng

Hi Chris "Fingers" (funny name),
try to check how the domains are identified by the web servers. By
ip-adress, or by http-header? Some days ago i had a similar problem
("default document" for specific path), where a bug in yast always switched
back to identifying by ip-adress. So apache always delivered the pages of
the first virtual domain that had this ip adress.
greetings from germany
chris

"Dancing Fingers" schrieb im Newsbeitrag
news:1186944397.589102.264140@e9g2000prf.googlegroups.com...
> Hi guys,
> I'm trying to get Tomcat5 to run a virtual domain working on a Debian
> box. The confusing part to me is that I'm also running 2 virtual
> domains on Apache2. I edited server.xml on Tomcat5 but I got my
> Apache2 default page. How do I tell Apache2 that this domain belongs
> to Tomcat?
> Thanks
> Chris
>