NameVirtualHost does nothing in Apache 2.4 and will be removed in
the next release. We might as well get rid of it now and silence
a warning when starting Apache.
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
# Set up our SSL virtual host
# ----------------------------------------------------------------------------------
#Listen 443
-NameVirtualHost *:443
<VirtualHost *:443>
DocumentRoot "@localstatedir@/web"
ServerName localhost:443
# errors, per http://wiki.apache.org/httpd/InternalDummyConnection
# ----------------------------------------------------------------------------------
-# Commented to avoid warnings from duplicate "NameVirtualHost: *80" directives
-#NameVirtualHost *:80
<VirtualHost *:80>
ServerName localhost:80
ServerAlias 127.0.0.1:80