Klipfolio. The KPI Dashboard - Evolved
The KPI Dashboard – Evolved
1-877-233-6149
Contact Us

Klip Developer Guide

Table of Contents

4.2. Setting the MIME Type on a Web Server

How you set the MIME type depends on the type of web server you are using. This chapter explains how to set the MIME type for Internet Information Server (IIS) and Apache web servers. For other servers, refer to the web server's documentation.

[Tip]Tip

The easiest way to see if the MIME type is correct is to publish a Klip and try clicking on its link. If you are prompted to load an application, you need to set the MIME type.

4.2.1. IIS Web Server

To configure the MIME type on IIS version 6, do the following:

  1. Open IIS Manager.

  2. Right-click on the local computer, Web site or Web site directory for which you want to add the MIME type, and select Properties.

  3. Select the MIME Types button.

  4. Click on Add...

  5. In the File name extension box, enter klip.

  6. For MIME type, enter application/klipfolio.

  7. Click OK.

For setting the MIME type on IIS v5.0, follow these steps:

  1. Right-click on Default Web Site and select Properties.

  2. Select the HTTP Headers tab.

  3. Under MIME Map, go to the File Types tab and select New Type.

  4. In Extension field, enter .klip, and application/klipfolio for Content Type.

  5. Hit OK.

4.2.2. Apache Web Server

To set the MIME type on an Apache web server, do the following:

  1. Locate the file mime.types (usually located in /etc/mime.types).

  2. Open the file and add the following line to it:

    application/klipfolio      klip
    
  3. Save and close the file.

[Tip]Tip

If you do not have access to /etc/mime.types, you can use the AddType directive. To do so, navigate to your server's document root, and create a file called .htaccess if it does not already exist. Then add this line to the file:

AddType    application/klipfolio 	klip

and save the file.

[Note]Note

Steps to configure the MIME type may differ depending on the type and version of the server you are using. Refer to its documentation for details.