问题
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