Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We're in the need of deploying a .NET clickonce application through an Apacke Tomcat 6. server. Does anyone have any tips or caveats for setting this up ? (Or is ist just so straight foreward I don't even need to ask ?)

share|improve this question

1 Answer 1

up vote 2 down vote accepted

ClickOnce is just a static file, prepared in a specified format. The clickonce file uses a special MimeType mapping, namely

application/x-ms-application

To configure this in tomcat, either in the $TOMCAT/conf/web.xml or the web context,

<mime-mapping>
   <extension>application</extension>
   <mime-type>application/x-ms-application</mime-type>
</mime-mapping>

Alternatively, if you use Apache in front of Tomcat to accelerate static files, you can add the mime type mapping like this in the /etc/httpd/conf/httpd.conf file

AddType application/x-ms-application .application
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.