httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <c...@hyperreal.com>
Subject cvs commit: apache/htdocs/manual/misc FAQ.html
Date Mon, 21 Apr 1997 13:43:30 GMT
coar        97/04/21 06:43:29

  Modified:    htdocs/manual/misc  FAQ.html
  Log:
  	Added a bunch of to-do items from questions received by ApacheWeek,
  	and added a Q&A about the Java JDK 1.0.2 problem with HTTP/1.1
  	headers.
  
  Revision  Changes    Path
  1.28      +50 -2     apache/htdocs/manual/misc/FAQ.html
  
  Index: FAQ.html
  ===================================================================
  RCS file: /export/home/cvs/apache/htdocs/manual/misc/FAQ.html,v
  retrieving revision 1.27
  retrieving revision 1.28
  diff -C3 -r1.27 -r1.28
  *** FAQ.html	1997/04/20 15:40:06	1.27
  --- FAQ.html	1997/04/21 13:43:28	1.28
  ***************
  *** 8,14 ****
    <!--#include virtual="header.html" -->
    <H1>Apache Server Frequently Asked Questions</H1>
    <P>
  ! $Revision: 1.27 $ ($Date: 1997/04/20 15:40:06 $)
    </P>
    <P>
    If you are reading a text-only version of this FAQ, you may find numbers
  --- 8,14 ----
    <!--#include virtual="header.html" -->
    <H1>Apache Server Frequently Asked Questions</H1>
    <P>
  ! $Revision: 1.28 $ ($Date: 1997/04/21 13:43:28 $)
    </P>
    <P>
    If you are reading a text-only version of this FAQ, you may find numbers
  ***************
  *** 30,35 ****
  --- 30,49 ----
    <!--   and double-check that rDNS resolves to name expected	    -->
    <!-- - mod_auth & passwd lines "user:pw:.*" - ++1st colon onward is -->
    <!--   treated as pw, not just ++1st to --2nd.			    -->
  + <!-- - SSL:							    -->
  + <!--   Can I use Apache-SSL for free in Canada?			    -->
  + <!--   Why doesn't Apache include SSL?				    -->
  + <!--   Why can I use Apache-SSL in the U.S.?			    -->
  + <!-- - How can I found out how many visitors my site gets?	    -->
  + <!-- - How do I add a counter?					    -->
  + <!-- - How do I configure Apache as a proxy?			    -->
  + <!-- - What browsers support HTTP/1.1?				    -->
  + <!-- - What's the point of vhosts-by-name is there aren't any	    -->
  + <!--   HTTP/1.1 brwsers?					    -->
  + <!-- - Is there an Apache for W95/WNT?				    -->
  + <!-- - Why does Apache die when a vhost can't be DNS-resolved?	    -->
  + <!-- - How do I add browsers ands referrers to my logs?		    -->
  + <!-- - Why was FastCGI removed from the 1.2 beta versions?	    -->
    <UL>
     <LI><STRONG>Background</STRONG>
      <OL START=1>
  ***************
  *** 100,105 ****
  --- 114,122 ----
       <LI><A HREF="#cookies2">Why don't my cookies work, I even compiled in 
        mod_cookies?</A>
       </LI>
  +    <LI><A HREF="#jdk102">Why do my Java app[let]s give me plain text
  +     when I request an URL from an Apache server?</A>
  +    </LI>
      </OL>
     </LI>
    </UL>
  ***************
  *** 814,820 ****
     </LI>
     <LI><A NAME="cookies2">
          <STRONG>Why don't my cookies work, I even compiled in mod_cookies?
  !       </STRONG></A>
      <P>
      Firstly, you do <EM>not</EM> need to compile in mod_cookies in order
      for your scripts to work (see the <A HREF="#cookies1">previous question</A>
  --- 831,838 ----
     </LI>
     <LI><A NAME="cookies2">
          <STRONG>Why don't my cookies work, I even compiled in mod_cookies?
  !       </STRONG>
  !      </A>
      <P>
      Firstly, you do <EM>not</EM> need to compile in mod_cookies in order
      for your scripts to work (see the <A HREF="#cookies1">previous question</A>
  ***************
  *** 822,827 ****
  --- 840,875 ----
      fine, with or without this module. If cookies do not work it will
      be because your script does not work properly or your browser does
      not use cookies or is not set-up to accept them.
  +   </P>
  +   <HR>
  +  </LI>
  +  <LI><A NAME="jdk102">
  +       <STRONG>Why do my Java app[let]s give me plain text when I request
  +       an URL from an Apache server?</STRONG>
  +      </A>
  +   <P>
  +   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 &quot;HTTP/1.0&quot; and do not correctly interpret
  +   the &quot;HTTP/1.1&quot; 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.
  +   </P>
  +   <P>
  +   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 &quot;fake&quot; 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:
  +   </P>
  +   <P>
  +   <DL>
  +    <DD><CODE>BrowserMatch HotJava/1.0 force-response-1.0</CODE>
  +    </DD>
  +   </DL>
      </P>
     </LI>
    </OL>
  
  
  

Mime
View raw message