[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SLUG] Apache serving .doc files
A note on MIME types and web server to remember. Many of you will know this,
but I thought I should repeat it
Netscape will listen to the headers for the document type.
IE pretty much ignores the document type and tries to work it out on it's
own, which means you should be able to download a .doc file using an IE ( or
related ) browser without having to configure an MIME. The corrolary to this
of course, is that doing funky stuff with CGI is somewhat harder, because IE
tends to make incorrect assumptions sometimes.
----- Original Message -----
From: "Artur Hefczyc" <email@example.com>
To: "Matt Hyne" <firstname.lastname@example.org>
Cc: "slug" <email@example.com>
Sent: Tuesday, June 12, 2001 6:22 PM
Subject: Re: [SLUG] Apache serving .doc files
> > I am trying to get my Linux based apache web server to serve some .DOC
> Word files. However I am having the following problems.
> > 1. When I click on the link, the file starts downloading as (garbled)
> into the netscape window.
> > 2. If I shift-select the link, I can download the file but then WORD
> cannot read it.
> > I've checked the file in Apache's directory and it is fine - I can ftp
> scp it and read it just fine, just not when I try to fetch it from a link
> a webpage.
> > I have the following link set up in my webpage:
> > <A HREF="forms/fax_template.doc">FAX Coversheet</A> (Word)<BR>
> > Anyone got any ideas - have a got Apache configured wrongly.
> You should set mime-type for such documents.
> Artur Hefczyc
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://lists.slug.org.au/listinfo/slug
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug