Is that the way you have yours configured? (i.e. <virtualhost abc.com> ) It's not working here, everything goes to the localHost...
I don't know what is going on here. I had things working ok earlier then I made the switch to jk2, to see if Tomcat would run the way it was suppose to (if I had the proper config), and had ALL kinds of problems! Not enough documentation on it... I went back to my original configuration and ppphhhttt... I used the exact same copies of mod_jk, workers, server.xml, etc???? It is just a warning.... should I ignore the darn thing? ----- Original Message ----- From: "Oscar Carrillo" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Tuesday, February 04, 2003 3:27 AM Subject: Re: VirtualHost www.zcompany.com:80 overlaps VirtualHost www.abc.com:80 > Like I said I'm not an expert on apache configuration, but I have it as my > domainname. One of the other messages someone followed up with said it has > to be the actual domainname that is going to host the virtual hosts. > > I'm pretty sure you need to NOT have the asterisk in the <VirtualHost *> > line you have. Look below to see the lines I would change. > > I can't get to it right now, but I'll post my related configuration > tonight. > > Oscar > > > On Tue, 4 Feb 2003, chris schild wrote: > > > Oscar, per the docs that I used NameVirutalHost is suppose to use the *. > > > > ----- Original Message ----- > > From: "Oscar Carrillo" <[EMAIL PROTECTED]> > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > Sent: Monday, February 03, 2003 10:26 AM > > Subject: Re: VirtualHost www.zcompany.com:80 overlaps VirtualHost > > www.abc.com:80 > > > > > > > I'm not very familiar with Apache configuration, but shouldn't your "*" > > > be replaced with the ServerName. I'm not sure what "NameVirtualHost" > > > should be set at. I have mine set to the servername of the only servername > > > I have. > > > > > > Oscar > > > > > > > > > On Mon, 3 Feb 2003, chris schild wrote: > > > > > > > Sorry, here is the error from apache.exe -t > > > > > > > > VirtualHost www.zcompany.com:80 overlaps with VirtualHost > > www.abc.com:80, > > > > the first has precedence, perhaps you need a NameVirtualHost directive > > > > > > > > ----- Original Message ----- > > > > > > > > From: "Oscar Carrillo" <[EMAIL PROTECTED]> > > > > To: "Tomcat Users List" <[EMAIL PROTECTED]> > > > > Sent: Monday, February 03, 2003 8:59 AM > > > > Subject: Re: VirtualHost www.zcompany.com:80 overlaps VirtualHost > > > > www.abc.com:80 > > > > > > > > > > > > > What error? > > > > > > > > > > Oscar > > > > > > > > > > On Mon, 3 Feb 2003, tomcat guy wrote: > > > > > > > > > > > Has anyone come across this warning? Any guesses as to what is > > wrong? > > > > > > > > > > > > Here is the httpd.conf definition: > > > > > > > > > > > > NameVirtualHost * > NameVirtualHost cde.com #assuming cde.com is your dns name > > > > > > > > > > > > <VirtualHost *> > <VirtualHost cde.com> #Edit this > > > > > > ServerName cde.com > > > > > > ServerAlias www.cde.com > > > > > > DocumentRoot /apache/Tomcat4.1/CDE > > > > > > JkMount /*.jsp ajp13 > > > > > > JkMount /servlet/* ajp13 > > > > > > ErrorLog logs/cde.com-error_log > > > > > > CustomLog logs/cde.com-access_log common > > > > > > </VirtualHost> > > > > > > > > > > > > <VirtualHost *> > <VirtualHost qv.com> #edit this > > > > > > ServerName qv.com > > > > > > ServerAlias www.qv.com > > > > > > DocumentRoot /apache/Tomcat4.1/QV > > > > > > JkMount /*.jsp ajp13 > > > > > > JkMount /servlet/* ajp13 > > > > > > ErrorLog logs/qv.com-error_log > > > > > > CustomLog logs/qv.com-access_log common > > > > > > </VirtualHost> > > > > > > > > > > > > <VirtualHost *> > <VirtualHost abc.com> #edit this > > > > > > ServerName abc.com > > > > > > ServerAlias www.abc.com > > > > > > DocumentRoot /apache/Tomcat4.1/AMW > > > > > > JkMount /*.jsp ajp13 > > > > > > JkMount /servlet/* ajp13 > > > > > > ErrorLog logs/abc.com-error_log > > > > > > CustomLog logs/abc.com-access_log common > > > > > > </VirtualHost> > > > > > > > > > > > > > > > > > > # <!-- !!! added workers file for apache tomcat integration --> > > > > > > JkWorkersFile "d:\Apache\Tomcat4.1\conf\jk\workers.properties" > > > > > > JkLogFile "d:\Apache\Tomcat4.1\logs\mod_jk.log" > > > > > > Include d:/Apache/Tomcat4.1/conf/auto/mod_jk.conf > > > > > > > > > > > > > > > > > > everything appears to be working normally but why the error??? > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
