<p>I would like to add the following MIME type to a site run by <code>Apache</code>:</p>

<pre><code>&lt;mime-mapping&gt;
  &lt;extension&gt;jnlp&lt;/extension&gt;
  &lt;mime-type&gt;application/x-java-jnlp-file&lt;/mime-type&gt;
&lt;/mime-mapping&gt;
</code></pre>

<p><strong>That is the Tomcat format.</strong></p>

<p>I'm on a shared host, so I can only create an <code>.htaccess</code> file. Would someone please specify the complete contents of such a file?</p>

You should be able to just add this line:
```
```
AddType application/x-java-jnlp-file     .jnlp
```
```