Netscape trying to "view" Word documents
Roy Tennant
rtennant at library.berkeley.edu
Wed Apr 17 10:34:54 EDT 1996
It's not enough to set up the client side, you also need to set up the
server side. That is, you need to tell NCSA HTTPD what to do with files
with the extension "doc". So here's how:
In the httpd directory there is a subdirectory "conf". Within that
directory is a text file called "mime.types". The file consists of a
number of one-line entries that match a MIME type to one or more filename
extensions. Some are already set for you and others are not. For example,
a fragment of mine looks like this:
application/msword
application/news-message-id
application/news-transmission
application/octet-stream bin
application/oda oda
application/pdf pdf
application/postscript ai eps ps
Notice how some MIME types have the extension set to be recognized to be
of a certain type, and others (like msword at the top) do not. All you
need to do is add "doc" next to "application/msword", reboot httpd and
you're set. Thanks,
Roy
On Wed, 17 Apr 1996, Tim Tripp wrote:
> Greetings, Gentlefolk
>
> We're setting up an Intranet, running off of a 486 running Linux and NCSA
> HTTPd. Some of the documents contain links to forms or other documents
> in Word format. When you click on the link in Netscape (1.1), it tries to
> view the document instead of prompting the user, or launching Word. Now,
> I've got Word configured in my helper applications, to launch when
> Netscape hits files with the ".doc" extension. I've tried changin that to
> "prompt user", but no change in what it does.
>
> I'm probably missing something totally obvious, but I've got to give a demo
> this week, and I'm beginning to panic!
>
> Can anybody out there see the obvious?
>
>
> --
> Tim Tripp Tel:(905) 790-2800 ext. 4108
> Library Supervisor Fax:(905) 790-4423
> Spar Space Systems (Brampton) Work: ttripp at spar.ca
> Spar Aerospace Ltd. Home: ttripp at inforamp.net
> 9445 Airport Road
> Brampton, Ontario
> Canada
> L6S 4J3
> http:\\www.spar.ca
>
More information about the Web4lib
mailing list