HTTP 错误 404.0 - 未找到 Coldfusion 文件的 IIS 7.5
当我调用 mydomain.com/images/test.jpg 时,我看到的图片很好,但是如果我调用 mydomain.com/index.cfm ,
我会得到以下内容
另外,我还确保在 IIS 处理程序映射中放置了 cfm 和 cfc。还有什么我忘了的吗?
运行:IIS 7.5, 视窗2008, 冷聚变 9, cfwheels
我已经远程 web.config 现在我明白了
When I call mydomain.com/images/test.jpg I see the pic fine but then if I do mydomain.com/index.cfm
I get the following
Also I've make sure that in IIS Handler Mappings I've put cfm and cfc. Anything else I forgot?
Running: IIS 7.5,
windows 2008,
Coldfusion 9,
cfwheels
I've remote web.config and now I get
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
从 404 错误的外观来看,它表明您最终到达了 /rewrite.cfm/index.cfm。我敢打赌这就是问题所在。我们可以了解有关该应用程序的更多信息吗?您的应用程序内的路由似乎存在问题,而不是 IIS
From the look of the 404 error it is saying that you are ending up at /rewrite.cfm/index.cfm. I am going to bet that is what is wrong. Can we have some more information about what the application is? It looks like there is an issue with your routing within the application, not with IIS
跑 c:\ColdFusion9\bin\connectors\IIS_connector.bat 之后一切正常。
Ran
c:\ColdFusion9\bin\connectors\IIS_connector.bat
and everything worked after that.