mime.types
file in the
conf
directory contains the following
lines at some point. (Always signal the server
process to reexamine its configuration files with the
kill -1 command after making modifications such as these.)
application/zip zip ZIP application/octet-stream exe 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.
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
and encourage other administrators to add it to
the mime.types file of their server.
ftp
protocol for
binary downloads.