[KLUG Members] Apache VirtualHost Configuration

Bruce Smith members@kalamazoolinux.org
12 Oct 2003 12:19:26 -0400


> [root@www ]# service httpd restart
> Stopping httpd:                                            [  OK  ]
> Starting httpd: [Sun Oct 12 10:56:31 2003] [error] VirtualHost
> _default_:443 -- mixing * ports and non-* ports with a NameVirtualHost
> address is not supported, proceeding with undefined results
>                                                            [  OK  ]

Here are my guesses, FWIW ...

> What the heck does this mean?  I used redhat-config-httpd to set this
> up, and virtual hosts seem to work - but only on https:  and not on
> http:// 

You cannot mix named based virtual hosting and https (https needs it 
own IP address).  Maybe the config program screwed up and did that?

> If I comment out NameVirtualHost * then this error goes away but virtual
> hosts don't work.  The string "_default_:443" doesn't occur anywhere in
> my config file so I assume it is the manifestation of some hard default.

It seems like newer apache configurations consist of a bunch of config
files, not just the single one any longer.  I had to look in a different
config file to find the :443 stuff.

Of course, YMMV ....   :-)

 - BS