Skip to main content
Participating Frequently
October 19, 2012
Question

unable to disable CF 10 in specific directory for IIS 7.5

  • October 19, 2012
  • 1 reply
  • 615 views

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?

This topic has been closed for replies.

1 reply

Carl Von Stetten
Legend
October 19, 2012

@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.