The HTTP client code in kaffe does not send the Host: header.
This means that it can't access virtual hosts. The fix is
very simple; just add the Host: header (with value taken from
url.getHost()) in the writeBytes() call in the connect() method in
I have made the fix available at
You'll find a patch, an SRPM, an RPM, the updated Klasses.jar, and a test
fixed in kaffe-1.0.5-3.