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
  1. You have no VirtualHosts that match the NameVirtualHost directive. 2. You are mixing the use of *:80 with ones that do not use a port number. For example :
NameVirtualHost *:80
NameVirtualHost *

<VirtualHost *:80>
DocumentRoot /var/www
ServerName www.example.com
...
</VirtualHost>

<VirtualHost *>
DocumentRoot /var/www
ServerName www.example.org
...
</VirtualHost>

Fixing this is quite easy... Always set a port number for your virtual hosts.

  • No labels