httpd-wiki-changes mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Httpd Wiki] Update of "VirtualHostsMixingPorts" by pctony
Date Wed, 04 Jul 2007 15:40:31 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by pctony:

The comment on the change is:
New page created

New page:

= VirtualHosts & Mixing Ports =

If you get the following error when you attempt to start Apache, it is a warning to tell you
that you have a misconfiguration of your {{{httpd.conf}}}

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

This occurs if you attempt to mix the use of *:80 with ones that do not use *.  For example

NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot /var/www

DocumentRoot /var/www
''You will see in the config snippet above that the second {{{VirtualHost}}} has an IP address,
not a *''

You really have two choices here:

 1. If you used the IP address as a means to only allow the site to be served from that IP
Address, then you now need an additional {{{NameVirtualHost}}} directive that matches your
{{{VirtualHost}}} block.  (In this case that would be {{{NameVirtualHost}}})

 2. Change the {{{VirtualHost}}} block to match your {{{NameVirtualHost}}} directive

View raw message