Copy link to clipboard
Copied
I have a directory that I want to disable CF 10 running on IIS 7.5 64 bit. I went to the Handler Mappings in IIS for the directory, edited the "Feature Permisions", and disabled "script" and "execute" but left "read".
MY PROBLEM: CFM pages still work in the directory.
There doesn't appear to be any wildcard mapping for cfm files in the directory. Asp.Net files return an error, and static files work fine.
What am I missing?
Copy link to clipboard
Copied
@jsm,
I'm assuming you want to block CF processing of a specifc folder within a website, leaving other folders to continue being processed. In IIS Manager, navigate to the folder you want to disable. Open "Handler Mappings" for that folder. Find following handlers and remove them: "cfcHandler", "cfmHandler", "cfmlHandler", "cfrHandler", "cfswfHandler". This should stop CF processing of that folder.
If there is already a web.config file in that folder, you might want to back it up first before removing the handlers.
-Carl V.
P.S. You might want to remove the "index.cfm" default document for that folder as well.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now