From 9f0b3774454aec3352c9da5fba6a33df3a04f2e9 Mon Sep 17 00:00:00 2001
From: Ken Coar
-$Revision: 1.27 $ ($Date: 1997/04/20 15:40:06 $)
+$Revision: 1.28 $ ($Date: 1997/04/21 13:43:28 $)
If you are reading a text-only version of this FAQ, you may find numbers
@@ -30,6 +30,20 @@ do not appear, and are not needed, for the hypertext version.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Firstly, you do not need to compile in mod_cookies in order
for your scripts to work (see the previous question
@@ -823,6 +841,36 @@ do not appear, and are not needed, for the hypertext version.
be because your script does not work properly or your browser does
not use cookies or is not set-up to accept them.
+ As of version 1.2, Apache is an HTTP/1.1 (HyperText Transfer Protocol
+ version 1.1) server. This fact is reflected in the protocol version
+ that's included in the response headers sent to a client when
+ processing a request. Unfortunately, the Java Development Kit (JDK)
+ version 1.0.2 URL methods (URLConnection and friends) expect to see
+ the version string "HTTP/1.0" and do not correctly interpret
+ the "HTTP/1.1" value Apache is sending. The result is that
+ the JDK methods do not correctly parse the headers, and include them
+ with the document content by mistake.
+
+ This is definitely a bug in the JDK, but it's unclear when (or
+ whether) it will be fixed. In the meantime, a workaround is to tell
+ Apache to "fake" an HTTP/1.0 response to requests that come
+ from the JDK methods; this can be done by including a line such as the
+ following in your server configuration files:
+
+ Apache Server Frequently Asked Questions
@@ -814,7 +831,8 @@ do not appear, and are not needed, for the hypertext version.
@@ -100,6 +114,9 @@ do not appear, and are not needed, for the hypertext version.
+
+
+ BrowserMatch HotJava/1.0 force-response-1.0
+