Wamp setup - CFIDE - Coldfusion mapping is not working

回眸只為那壹抹淺笑 提交于 2019-12-11 06:52:56

问题


I have Coldfusion, the CF administrator and my test site all setup and working on my local machine using WAMP. The only thing that isn't working is the Coldfusion mappings. For instance if I have the following mapping in the CF admin:

Logical Path Directory Path

/cfscripts/ E:\wamp\www\CFIDE\scripts\

But when I try to access the path using my local test site http://dev.example.com/cfscripts/ the directory is not found.

Can someone point out where I am going wrong here? It's probably something very straightforward I have missed.

Thanks


回答1:


You have a misunderstanding of how CF mappings work. CF Mappings are not at the web server level, but are strictly at the ColdFusion code level.

You need to set up a virtual directory in IIS if you want the cfscripts director to be available.



来源:https://stackoverflow.com/questions/7163082/wamp-setup-cfide-coldfusion-mapping-is-not-working

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!