RE: MIME types

Jan Hardenbergh ([email protected])
Mon, 24 Apr 95 09:59:00 E


> We've built a VRML reader using Sense 8's World Toolkit for Windows. It's
> now being tested/refined. I have a question:

Great! Are you going to distribute it?

> I can read .wrl files from servers that have them, but I want to put some
of
> these files referenced by my own WWW home page (on the WELL). What's
> involved, it must be more than just the file extenstion, Netscape thinks
> .wrl files from the WELL are just text files, but when they come from the
> Minnesota Geometry center, it knows they are VRML files. What do I do?

You need to edit the configuration file to establish the file suffix to MIME
type mapping. I do not know about Netscape or NCSA, but for CERN you
need to add this line to httpd.conf:

# add the VRML type.
AddType .wrl x-world/x-vrml 8bit 1.0

For the EMWACS NT server, you add similar things in the Control Panel
of the HTTP Server. Open that to see the list of MIME type mappings.
Click on the New Mapping button and give .wrl & x-world/x-vrml

If anyone can snip out the exact lines for Netsite & NCSA, I'll stick them
in the FAQ.

YON, [email protected], Jan C. Hardenbergh, Oki Advanced Products 508-460-8655
http://www.oki.com/people/jch/ =|= 100 Nickerson Rd. Marlborough, MA 01776
Imagination is more important than knowledge - Albert Einstein (1879-1955)