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 ?)

link|improve this question

80% accept rate
feedback

1 Answer

up vote 1 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
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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