Avoid Apache warnings resulting from duplicate NameVirtualHost directives
authordbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 25 Mar 2011 06:52:18 +0000 (06:52 +0000)
committerdbs <dbs@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 25 Mar 2011 06:52:18 +0000 (06:52 +0000)
Benjamin Shum reported that the Apache warnings that have been a part
of Evergreen's default configuration on Apache start for ages could
be avoided by commenting out the "NameVirtualHost: *80" line in
eg.conf. Testing confirmed that the directive was not necessary on Ubuntu,
Debian, or Fedora. As this warning has been the cause for unnecessary concern
on the part of many new adopters of Evergreen, getting rid of it appears to
be a nice usability win.

Thanks Ben!

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19857 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/examples/apache/eg.conf

index 56ddea9..cb37134 100644 (file)
@@ -135,7 +135,9 @@ NameVirtualHost *:443
 # Port 80 comes after 443 to avoid "unknown protocol speaking not SSL to HTTPS port!?" 
 # errors, per http://wiki.apache.org/httpd/InternalDummyConnection
 # ----------------------------------------------------------------------------------
-NameVirtualHost *:80
+
+# Commented to avoid warnings from duplicate "NameVirtualHost: *80" directives
+#NameVirtualHost *:80
 <VirtualHost *:80>
        ServerName localhost:80
        ServerAlias 127.0.0.1:80