Can I serve a ClickOnce application with Apache?

孤街醉人 提交于 2019-11-30 14:42:06

问题


We're testing our ClickOnce deployed application internally on IIS (Internet Information Services), but we're wondering if we can deploy it to the wider internet using Apache on Linux so we can make use of our existing external website host.

If so, is there anything else I need to consider other than as specifying the correct mime types such as .application and .deploy?


回答1:


I found a number of people asking the same question starting around 2005, but here is the first google result - also discusses silverlight.

http://software.clempaul.me.uk/articles/clickonce/

As far as I can tell, however, the only thing you would need to worry about would be setting up the mime types and providing access to the files.




回答2:


The Paul Clement article is the best description I've found. I also came across a topic in the Apache documentation that suggests putting the configuration in the httpd.conf file instead of .htaccess files. Here are the lines I added to my httpd.conf file:

AddType application/x-ms-application .application
AddType application/manifest .manifest
AddType application/octet-stream .deploy


来源:https://stackoverflow.com/questions/93361/can-i-serve-a-clickonce-application-with-apache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!