You probably do not want to edit the mime.types file
of your server, because new versions of this file
regularly become available with new versions of
the web server. Instead, under the NCSA server
and its derivatives, use the AddType
and AddEncoding
commands in your
server configuration file.
After making a change to your configuration files,
always signal the server process to reexamine those
files by using the kill -1 command.
Consider adding the following lines:
AddType application/zip zip AddType application/zip ZIP AddType application/octet-stream exe AddType application/octet-stream EXEIn general, the content type
application/octet-stream
is an excellent choice when there is no appropriate
"external viewer." A typical browser will then
prompt the user to save the file. However, if there
is a more appropriate content
type, you should of course use that type instead.
On occasion, users may have encountered very
badly behaved servers which encourage users
to set up a specialized external viewer for the
application/octet-stream
content
type. This makes life difficult for everyone.
Programmers: please don't encourage users to configure
an external viewer for application/octet-stream
.
That content type should be reserved for downloads.
If you have created an external viewer for a brand-new
form of information, invent a new and appropriate content type
for your application's data and configure your server to output that
content type. Make your content type known to the public
aand to the authors of web servers so it can be added
to the mime.types file.
ftp
protocol for
binary downloads.