[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.

Adam
----- Original Message -----
From: "Artur Hefczyc" <wislaj23@nospam.wp.pl>
To: "Matt Hyne" <mhyne@nospam.cisco.com>
Cc: "slug" <slug@nospam.slug.org.au>
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
MS
> Word files.  However I am having the following problems.
> >
> > 1. When I click on the link, the file starts downloading as (garbled)
text
> 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
or
> scp it and read it just fine, just not when I try to fetch it from a link
on
> 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
> --
> Artur Hefczyc
> kobit@nospam.users.sourceforge.net
>
>
> --
> 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