For webmasters

Here we show you how to make your Apache or Microsoft IIS understand OpenDocument files and send them with the correct MIME type.

Apache server

Step 1: Copy the text below and save it as a file called .htaccess -- or make sure it is part of http.conf.
Step 2: Use FTP to put that file at your root of your web directory (usually public_html or www).
If you are in charge of the server, you may add these lines to the server configuration, virtual host, or directory area of the Apache configuration file.

# Regular documents.
AddType application/vnd.oasis.opendocument.text         .odt
AddType application/vnd.oasis.opendocument.spreadsheet  .ods
AddType application/vnd.oasis.opendocument.presentation .odp
AddType application/     .odg
AddType application/vnd.oasis.opendocument.chart        .odc
AddType application/vnd.oasis.opendocument.formula      .odf
AddType application/vnd.oasis.opendocument.image        .odi

# Templates
AddType application/vnd.oasis.opendocument.text-template         .ott
AddType application/vnd.oasis.opendocument.spreadsheet-template  .ots
AddType application/vnd.oasis.opendocument.presentation-template .otp
AddType application/     .otg
AddType application/vnd.oasis.opendocument.chart-template        .otc
AddType application/vnd.oasis.opendocument.formula-template      .otf
AddType application/vnd.oasis.opendocument.image-template        .oti

# Master documents and HTML templates
AddType application/vnd.oasis.opendocument.text-master  .odm
AddType application/vnd.oasis.opendocument.text-web     .oth

Microsoft IIS (Internet Information Server)

For IIS 6.0 instructions, see this page in the Microsoft Knowledge Base.
You should not need to do anything for IIS 1.0, but if necessary see this page in the Microsoft Knowledge Base for instructions.