Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

unable to disable CF 10 in specific directory for IIS 7.5

New Here ,
Oct 19, 2012 Oct 19, 2012

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?

604
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Oct 19, 2012 Oct 19, 2012
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources