您的位置:首页 > 移动开发 > Unity3D

unity3d 在iis上发布,win7

2013-10-15 11:01 489 查看
win7 iis 发布unity3d的web遇到问题,网上试了

在 web.config 上加:

<configuration>

<system.webServer>

<staticContent>

<mimeMap fileExtension=".unity3d" mimeType="application/vnd.unity" />

</staticContent>

</system.webServer>

</configuration>

或者在iis管理器上加 MIME 类型,我没有试,直接在web.config加东西就已经可以了

还有人说server2003的,我没试

In IIS for Server 2003, to enable the file to be downloaded by the client,
Step 1) right click on the folder that houses the unityweb file and click on properties.

Step 2) Click on HTTP Headers tab
Step 3) Click on MIME Types
Step 4) Click New
Step 5) fill in as follows:
Extension: unityweb
MIME Type: application/x-unity
Step 6) Click OK to close out of each screen (2x OK's)
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: