Frank Krueger Frank Krueger - 9 months ago 68
Java Question

How do I add a MIME type to .htaccess?

I would like to add the following MIME type to a site run by



That is the Tomcat format.

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

AddType application/x-java-jnlp-file .jnlp

Note that you might not actually be allowed to do that.

See also the documentation of the AddType directive and the .htaccess howto.