Return-Path: Delivered-To: apmail-httpd-docs-archive@httpd.apache.org Received: (qmail 28582 invoked by uid 500); 11 Mar 2002 00:31:23 -0000 Mailing-List: contact docs-help@httpd.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: docs@httpd.apache.org Delivered-To: mailing list docs@httpd.apache.org Received: (qmail 28560 invoked by uid 500); 11 Mar 2002 00:31:23 -0000 Delivered-To: apmail-apache-docs@apache.org Delivered-To: apmail-httpd-docs-1.3-cvs@apache.org Date: 11 Mar 2002 00:31:22 -0000 Message-ID: <20020311003122.12168.qmail@icarus.apache.org> From: slive@apache.org To: httpd-docs-1.3-cvs@apache.org Subject: cvs commit: httpd-docs-1.3/htdocs/manual/misc FAQ-E.html X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N slive 02/03/10 16:31:22 Modified: htdocs/manual/misc FAQ-E.html Log: This MSIE text/plain issue is coming up more often than the "why does MSIE work but not Nestscape" issue. Since this answer covers both questions, I just broadened it a little. Submitted by: Alan J. Flavell (via Usenet), Joshua Slive Revision Changes Path 1.18 +27 -20 httpd-docs-1.3/htdocs/manual/misc/FAQ-E.html Index: FAQ-E.html =================================================================== RCS file: /home/cvs/httpd-docs-1.3/htdocs/manual/misc/FAQ-E.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -b -u -r1.17 -r1.18 --- FAQ-E.html 30 Jan 2002 15:51:28 -0000 1.17 +++ FAQ-E.html 11 Mar 2002 00:31:21 -0000 1.18 @@ -33,7 +33,7 @@

Apache Server Frequently Asked Questions

-

$Revision: 1.17 $ ($Date: 2002/01/30 15:51:28 $)

+

$Revision: 1.18 $ ($Date: 2002/03/11 00:31:21 $)

The latest version of this FAQ is always available from the main Apache web site, at <Why do my files appear correctly in Internet Explorer, but show up as source or - trigger a save window with Netscape? + trigger a save window with Netscape; or, Why doesn't + Internet Explorer render my text/plain document + correctly?

  • My site is accessible under many different hostnames; how do I redirect clients @@ -641,29 +643,34 @@ Why do my files appear correctly in Internet Explorer, but show up as source or trigger a save window with - Netscape? + Netscape; or, Why doesn't Internet Explorer render + my text/plain document correctly? -

    Internet Explorer (IE) and Netscape handle mime type +

    MS Internet Explorer (MSIE) and Netscape handle mime type detection in different ways, and therefore will display the document differently. In particular, IE sometimes relies on - the file extension to determine the mime type. This can - happen when the server specifies a mime type of - application/octet-stream or - text/plain. (Unfortunately, this behavior - makes it impossible to properly send plain text in some - situations unless the file extension is txt.) - There are more details available on IE's mime type - detection behavior in an application/octet-stream or + text/plain. This behavior violates the the HTTP + standard and makes it impossible to deliver plain text + documents to MSIE clients in some cases. More details are + available on MSIE's mime type detection behavior in an - MSDN article.

    + MSDN article and a note + by Alan J. Flavell.

    -

    In order to make all browsers work correctly, you should - assure that Apache sends the correct mime type for the - file. This is accomplished by editing the - mime.types file or using an The best you can do as a server administrator is to + accurately configure the mime type of your documents by editing + the mime.types file or using an AddType - directive in the Apache configuration files.

    -
    + directive in the Apache configuration files. In some cases, + you may be able to fool MSIE into rendering text/plain documents + correctly by assuring they have a .txt filename + extension, but this will not work if MSIE thinks the content + looks like another file type. +


  • My site is accessible --------------------------------------------------------------------- To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org For additional commands, e-mail: docs-help@httpd.apache.org