Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…#2508

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@116 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
theli committed May 13, 2005
1 parent 8559c6e commit 511f1c9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/de/anomic/http/httpd.java
Expand Up @@ -251,7 +251,7 @@ public Boolean GET(String arg) throws IOException {
//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", "");
Expand Down Expand Up @@ -325,7 +325,7 @@ public Boolean HEAD(String arg) throws IOException {
}

// 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", "");
Expand Down Expand Up @@ -406,7 +406,7 @@ public Boolean POST(String arg) throws IOException {
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", "");
Expand Down

0 comments on commit 511f1c9

Please sign in to comment.