Coldfusion 10,IIS 7.5 - 即使文件存在也得到 404 [英] Coldfusion 10, IIS 7.5 - Getting a 404 even though file exists
问题描述
即使该页面存在于磁盘上,我也会收到 404.
I'm getting a 404 even though the page exists on disk.
我已经运行了 Web 服务器配置工具并重新启动了几次.
I've ran the Web Server Configuration Tool and rebooted several times.
.cfm 文件的处理程序映射(配置工具似乎有效):C:ColdFusion10configwsconfig1isapi_redirect.dll
Handler mapping for .cfm files (configuration tool seems to have worked): C:ColdFusion10configwsconfig1isapi_redirect.dll
虚拟路径:root/index.cfm <- 有效root/dan.cfm <- 不起作用
Virtual Paths: root/index.cfm <- works root/dan.cfm <- doesn't work
服务器:Windows 2008 R2、IIS 7.5 和 Coldfusion 10
Server: Windows 2008 R2, IIS 7.5 and Coldfusion 10
我的其余配置:
更新 1
/wsconfig/1 文件夹上的 NTFS 安全信息:
NTFS Security Information on /wsconfig/1 folder:
答案 - TLDR
将名为jakarta"的虚拟目录映射到 CFUSION INSTALLconfigwsconfig{instance id}
Map a virtual directory named "jakarta" to CFUSION INSTALLconfigwsconfig{instance id}
文件夹无需添加APPPool权限...
No need to add APPPool permissions to folder...
推荐答案
在网站上右击并添加一个名为jakarta"的映射虚拟目录到 C:Coldfusion10configwsconfig{instance id}(在我的例子中,它是 1)
Right click on the website and add a mapped virtual directory named "jakarta" to C:Coldfusion10configwsconfig{instance id} (in my case, it was 1 )
这篇关于Coldfusion 10,IIS 7.5 - 即使文件存在也得到 404的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!