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: http://wiki.apache.org/httpd/VirtualHostsMixingPorts The comment on the change is: New page created New page: (!) INCOMPLETE 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 ServerName www.example.com ... </VirtualHost> <VirtualHost 192.168.1.1:80> DocumentRoot /var/www ServerName www.example.org ... </VirtualHost> }}} ''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 192.168.1.1:80}}}) 2. Change the {{{VirtualHost}}} block to match your {{{NameVirtualHost}}} directive
