httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wil Hatfield" <...@hvhm.net>
Subject RE: [users@httpd] Multiple IPs for VirtualHost
Date Thu, 19 Feb 2004 21:46:36 GMT
Basically here is what I have. Funny thing is this configuration seems to
work fine on one machine but not on another.

NameVirtualHost 216.120.76.4:80
NameVirtualHost 66.181.8.132:80

<VirtualHost 216.120.76.4:80>
Servername www.domainone.com
</VirtualHost>

<VirtualHost 66.181.8.132:80>
Servername www.domainone.com
</VirtualHost>

<VirtualHost 216.120.76.4:80>
Servername www.domaintwo.com
</VirtualHost>

<VirtualHost 66.181.8.132:80>
Servername www.domaintwo.com
</VirtualHost>


Thanks again,

Wil Hatfield





> -----Original Message-----
> From: BAO RuiXian [mailto:ruixian.bao@pp.inet.fi]
> Sent: Thursday, February 19, 2004 1:20 PM
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Multiple IPs for VirtualHost
>
>
>
>
> Wil Hatfield wrote:
>
> > Is there an optimal way of setting up a domain at two different IP
> > addresses. We are switching subnets and want to have redundancy until
> > the ISPs around the globe flush their caches.  Right now I am getting
> > the following errors:
> >
> > [error] VirtualHost xxx.xxx.xxx.xxx:80 mixing * ports and non-* ports
> > with a NameVirtualHost address is not supported, proceeding with
> > undefined results
> > [warn] NameVirtualHost xxx.xxx.xxx.xxx:80 has no VirtualHosts
> >
>
> I guess in your NameVirtualHost argument there is no port defined, hence
> comes the error "mixing * ports and non-* ports...". Please make the
> arguments after NameVirtualHost and VirtualHost consistent to see if the
> error goes away.
>
> Best
>
> Bao
>
> PS: you may don't want to send HTML format messages, which are disliked
> by most subscribers.
>
> > Thanks in advance,
> >
> > Wil
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message