NameVirtualHost lets you use a single ip address as multiple hosts See these apache docs for details
http://httpd.apache.org/docs/vhosts/ cheers Tref ------------------------------------------------------ Tref Gare Development Consultant Areeba Level 19/114 William St, Melbourne VIC 3000 email: [EMAIL PROTECTED] phone: +61 3 9642 5553 fax: +61 3 9642 1335 website: http://www.areeba.com.au ------------------------------------------------------ "This email is intended only for the use of the individual or entity named above and contains information that is confidential. No confidentiality is waived or lost by any mis-transmission. If you received this correspondence in error, please notify the sender and immediately delete it from your system. You must not disclose, copy or rely on any part of this correspondence if you are not the intended recipient. Any communication directed to clients via this message is subject to our Agreement and relevant Project Schedule. Any information that is transmitted via email which may offend may have been sent without knowledge or the consent of Areeba." ------------------------------------------------------ -----Original Message----- From: Oscar Carrillo [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 4 February 2003 3:27 AM To: Tomcat Users List 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 * > > > > > > <VirtualHost *> > > > 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 *> > > > 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 *> > > > 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]
