@ -254,7 +254,7 @@ static int accessHandlerCallback(void *cls,
mimeType="text/html; charset=utf-8";
}else{
content="<html><head><title>Fulltext search unavailable</title></head><body><h1>Not Found</h1><p>There is no article with the title <b>\""+patternString+"\"</b> and the fulltext search engine is not available for this content.</p></body></html>";
content="<!DOCTYPE html>\n<html><head><title>Fulltext search unavailable</title></head><body><h1>Not Found</h1><p>There is no article with the title <b>\""+patternString+"\"</b> and the fulltext search engine is not available for this content.</p></body></html>";
mimeType="text/html";
httpResponseCode=MHD_HTTP_NOT_FOUND;
}
@ -274,8 +274,8 @@ static int accessHandlerCallback(void *cls,
}else{
if(isVerbose())
cout<<"Failed to find "<<urlStr<<endl;
content="<html><head><title>Content not found</title></head><body><h1>Not Found</h1><p>The requested URL "+urlStr+" was not found on this server.</p></body></html>";
content="<!DOCTYPE html>\n<html><head><title>Content not found</title></head><body><h1>Not Found</h1><p>The requested URL "+urlStr+" was not found on this server.</p></body></html>";
mimeType="text/html";
httpResponseCode=MHD_HTTP_NOT_FOUND;
}
@ -581,7 +581,7 @@ int main(int argc, char **argv) {