2013-02-22 63 views
0

我想在Azure网站上启用SSI,但使用.html而不是.shtml。 SSI已启用,但在我的生活中,我无法找到一种方式让它处理.html。在Azure网站上使用.html而非.shtml作为服务器端包含

本地我添加了一个处理程序的web.config

<system.webServer> 
    <handlers accessPolicy="Read, Script"> 
    <add name="ASPClassicHtml" path="*.html" verb="GET,HEAD,POST" modules="IsapiModule" scriptProcessor="%IIS_BIN%\asp.dll" resourceType="File" /> 
    </handlers> 
</system.webServer> 

而且工作正常,但是当我上传到蔚蓝的网站,我的我碰到下面的错误;

The resource you are looking for has been removed, had its name changed, or is temporarily unavailable. 

有什么建议吗?

回答

相关问题