From 511f1c9b258a9df403ac518468be42aed65b3995 Mon Sep 17 00:00:00 2001 From: theli Date: Fri, 13 May 2005 20:21:07 +0000 Subject: [PATCH] *) Bugfix of http://www.yacy-forum.de/viewtopic.php?p=2508&highlight=#2508 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@116 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/http/httpd.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/de/anomic/http/httpd.java b/source/de/anomic/http/httpd.java index a6d1136cb..3d4b14eb6 100644 --- a/source/de/anomic/http/httpd.java +++ b/source/de/anomic/http/httpd.java @@ -251,7 +251,7 @@ public final class httpd implements serverHandler { //System.out.println("HEADER: " + header.toString()); // return multi-line message - if (prop.getProperty(httpHeader.HOST).equals(virtualHost)) { + if (prop.getProperty("HOST").equals(virtualHost)) { // pass to server if (allowServer) { if (serverAccountBase64MD5 == null) serverAccountBase64MD5 = switchboard.getConfig("serverAccountBase64MD5", ""); @@ -325,7 +325,7 @@ public final class httpd implements serverHandler { } // return multi-line message - if (prop.getProperty(httpHeader.HOST).equals(virtualHost)) { + if (prop.getProperty("HOST").equals(virtualHost)) { // pass to server if (allowServer) { if (serverAccountBase64MD5 == null) serverAccountBase64MD5 = switchboard.getConfig("serverAccountBase64MD5", ""); @@ -406,7 +406,7 @@ public final class httpd implements serverHandler { if (connection.equals("keep-alive")) persistent = true; // return multi-line message - if (prop.getProperty(httpHeader.HOST).equals(virtualHost)) { + if (prop.getProperty("HOST").equals(virtualHost)) { // pass to server if (allowServer) { if (serverAccountBase64MD5 == null) serverAccountBase64MD5 = switchboard.getConfig("serverAccountBase64MD5", "");