It looks like this:
# Include the virtual host configurations:
But I haven't done anything with sites-enabled. I'm used to working with Apache 1.3, so if 2.2 requires me to do something there, I'll need pointers. From the Apache 2.2 documentation, it looks like it just gives me the option of creating a special conf file for each virtual host, which I don't think I need.
And actually, I'm getting this sometimes, too (when trying to use the virtual host code listed above):
# apache2ctl start
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName
[Wed Jan 17 15:07:04 2007] [error] VirtualHost *:80 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results
[Wed Jan 17 15:07:04 2007] [warn] NameVirtualHost *:0 has no VirtualHosts
[Wed Jan 17 15:07:04 2007] [warn] NameVirtualHost *:80 has no VirtualHosts
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
But rebooting clears the darned sock error.
Any other ideas on getting the virtual hosts to be recognized normally?