Re: Is it possible to configure two subdomains for an IP address?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Eric Covener wrote:
On Sun, Mar 15, 2009 at 2:34 AM, Rex C. Eastbourne
<rex.eastbourne@xxxxxxxxx> wrote:
However, when I do this, I get the following error message:

[error] VirtualHost *:80 -- mixing * ports and non-* ports with a
NameVirtualHost address is not supported, proceeding with undefined results

Your config is perfect, however you have other vhosts getting in the
way.   apachectl/apache2ctl/httpd -S would show you where you have
"virtualhost *" w/o a port number, which overlaps with these.

A guess :
You might have one "NameVirtualHost *" in your main Apache configuration file, and another "NameVirtualHost *:80" on the first line of the first Virtual Host's configuration file, or vice-versa.
There should only be one "NameVirtualHost" in total.
And whatever that one says, you <VirtualHost > sections should match the "NameVirtualHost" directive.


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux