![为 CF 6.1 配置 IIS 后出现错误](https://linux22.com/image/558318/%E4%B8%BA%20CF%206.1%20%E9%85%8D%E7%BD%AE%20IIS%20%E5%90%8E%E5%87%BA%E7%8E%B0%E9%94%99%E8%AF%AF.png)
我已按照以下链接为 CF 6.1 配置了 IIS 7:
http://www.communitymx.com/content/article.cfm?page=1&cid=224AA
但我仍然收到以下错误:
Server Error in Application "DEFAULT WEB SITE"
Internet Information Services 7.5
Error Summary HTTP Error 404.17 - Not Found
The requested content appears to be script and will not be served by the static file handler.
Detailed Error Information Module StaticFileModule Notification ExecuteRequestHandler Handler StaticFile Error Code 0x80070032
Requested URL http://127.0.0.1:80/CFIDE/administrator/index.cfm
Physical Path C:\inetpub\wwwroot\CFIDE\administrator\index.cfm
Logon Method Anonymous
Logon User Anonymous
Most likely causes:
•The request matched a wildcard mime map. The request is mapped to the static file handler. If there were different pre-conditions, the request will map to a different handler. Things you can try:
•If you want to serve this content as a static file, add an explicit MIME map.
我该如何解决此错误?
答案1
看起来好像您.cfm
没有将 jrun 映射到位。教程没有明确说明所需的映射 - 有.cfm
一张图片(第 7 页)中提到需要添加提示,但那有点……不够详细。您能确认 IIS 的“Hander 映射”部分中的内容吗?
另外:CF 6 确实很老了,我强烈建议运行较新的版本。我相信 6(和 7)不再获得安全更新。