Frank Krueger Frank Krueger - 1 year ago 126
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?

Answer Source
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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download