Tuesday, February 10, 2015

Enable Apache webserver to process OpenDocument Text (.odt) files - Mime types

Following instructions will allow you to enable the apache webserver to process the .odt (OpenDocument Text) files.

Step 1: The mime.types file has to be updated with the extension of .odt. Take the backup of the mime.types file, In general it will be present in the conf folder of apache file structure.

Step 2: Append the mime.types file contents with the following line at the bottom of the file.
vi mime.types
Paste the following line at the end of file.

application/vnd.oasis.opendocument.text odt

Step 3: Restart the apache webserver and check if you are able to access the .odt files.

0 comments:

Post a Comment