[open-ils-commits] r18235 - branches/rel_1_6/Open-ILS/examples/apache (dbs)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Oct 7 23:07:32 EDT 2010


Author: dbs
Date: 2010-10-07 23:07:29 -0400 (Thu, 07 Oct 2010)
New Revision: 18235

Modified:
   branches/rel_1_6/Open-ILS/examples/apache/eg.conf
Log:
Avoid scary SSL / HTTPS errors in Apache configuration

When port 443 is the last listener port, Apache generates lots
of "unknown protocol speaking not SSL to HTTPS port!?" errors in
the logs - which are scary, but harmless. Putting port 80 last
avoids those errors entirely, per http://wiki.apache.org/httpd/InternalDummyConnection


Modified: branches/rel_1_6/Open-ILS/examples/apache/eg.conf
===================================================================
--- branches/rel_1_6/Open-ILS/examples/apache/eg.conf	2010-10-08 01:35:25 UTC (rev 18234)
+++ branches/rel_1_6/Open-ILS/examples/apache/eg.conf	2010-10-08 03:07:29 UTC (rev 18235)
@@ -76,27 +76,7 @@
 ExpiresByType application/x-javascript A64800
 ExpiresByType text/css A3000
 
-
-
-
 # ----------------------------------------------------------------------------------
-# Set up our main virtual host
-# ----------------------------------------------------------------------------------
-NameVirtualHost *:80
-<VirtualHost *:80>
-	ServerName localhost:80
-	ServerAlias 127.0.0.1:80
- 	DocumentRoot /openils/var/web/
-	DirectoryIndex index.xml index.html index.xhtml
-    # - absorb the shared virtual host settings
-    Include eg_vhost.conf
-</VirtualHost>
-
-
-
-
-
-# ----------------------------------------------------------------------------------
 # Set up our SSL virtual host
 # ----------------------------------------------------------------------------------
 Listen 443
@@ -124,4 +104,18 @@
 
 </VirtualHost>
 
+# ----------------------------------------------------------------------------------
+# Set up our main virtual host
+# 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
+<VirtualHost *:80>
+	ServerName localhost:80
+	ServerAlias 127.0.0.1:80
+ 	DocumentRoot /openils/var/web/
+	DirectoryIndex index.xml index.html index.xhtml
+    # - absorb the shared virtual host settings
+    Include eg_vhost.conf
+</VirtualHost>
 



More information about the open-ils-commits mailing list