bugfix for broken HTDOCS

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@938 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
allo 2005-10-14 11:50:11 +00:00
parent 4320425a17
commit 6430fa520e

View File

@ -428,12 +428,6 @@ public final class httpdFileHandler extends httpdAbstractHandler implements http
}
}
if (!(targetFile.exists())) {
// try to find that file in the htDocsPath
File trialFile = new File(htDocsPath, path);
if (trialFile.exists()) targetFile = trialFile;
}
File targetClass = rewriteClassFile(targetFile);
Date targetDate;
@ -488,6 +482,12 @@ public final class httpdFileHandler extends httpdAbstractHandler implements http
path.endsWith("pac")) {
targetFile = getLocalizedFile(path);
if (!(targetFile.exists())) {
// try to find that file in the htDocsPath
File trialFile = new File(htDocsPath, path);
if (trialFile.exists()) targetFile = trialFile;
}
// call rewrite-class
serverObjects tp = new serverObjects();