From ee225ee9dc104f726df11b04078485619a7737b7 Mon Sep 17 00:00:00 2001 From: dbs Date: Fri, 25 Mar 2011 06:52:18 +0000 Subject: [PATCH] Avoid Apache warnings resulting from duplicate NameVirtualHost directives 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 | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Open-ILS/examples/apache/eg.conf b/Open-ILS/examples/apache/eg.conf index 56ddea9..cb37134 100644 --- a/Open-ILS/examples/apache/eg.conf +++ b/Open-ILS/examples/apache/eg.conf @@ -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 ServerName localhost:80 ServerAlias 127.0.0.1:80 -- 1.7.2.5