<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<httpErrors errorMode=”Detailed”>
<remove statusCode=”404″ subStatusCode=”-1″ />
<error statusCode=”404″ prefixLanguageFilePath=”” path=”/404.html” responseMode=”ExecuteURL” />
</httpErrors>
<staticContent>
<mimeMap fileExtension=”.ipa” mimeTsvxype=”application/iphone” />
<mimeMap fileExtension=”.apk” mimeType=”application/vnd.android.package-archive” />
</staticContent>
<defaultDocument>
<files>
<clear />
<add value=”index.asp” />
<add value=”index.htm” />
<add value=”index.html” />
</files>
</defaultDocument>
———————————————-
取消aspx 执行
<handlers>
<remove name=”PageHandlerFactory-ISAPI-4.0_64bit” />
<remove name=”PageHandlerFactory-ISAPI-4.0_32bit” />
<remove name=”PageHandlerFactory-ISAPI-2.0-64″ />
<remove name=”PageHandlerFactory-ISAPI-2.0″ />
</handlers>
—————————————————————–
取消asp文件执行
<handlers>
<remove name=”ASPClassic” />
</handlers>
———————————————————–
</system.webServer>
</configuration>
评论前必须登录!
注册