IIS 7 and Above
How do you disable a handler mapping in IIS 7
Last post Dec 04, 2013 07:12 PM by rkasavaraju
Jun 07, 2012 05:16 PM|terri8502|LINK
I have two handler mappings on my Windows 2008, IIS 7 web server that I need to disable (ISAPI-dll and CGI-exe). I can't find an option to do that on the Handler mappings page, and the applicationhost.config on the server I need to disable it on looks identical
to the one on the server where they are disabled. Can anyone tell me how to disable them?
Any assistance is appreciated.
Jun 07, 2012 05:24 PM|peterviola|LINK
Did you try using:
appcmd set config /section:handlers /-[name='string']
Jun 08, 2012 03:43 PM|terri8502|LINK
Thanks, that actually removes it, I was hoping to disable it and verify everything was still ok... appreciate the input however.
Jun 08, 2012 05:34 PM|terridonahue|LINK
Dec 04, 2013 07:12 PM|rkasavaraju|LINK
When I tried to disable any one handler (example .svc) by removing the read and script permissions the entire handler list is becoming disabled. Except TRACEverbhander and OPTIONSverbhander.