Skip to content

plesk windows requestfiltering for applications/domain

by admin on January 20th, 2009

I notice IIS 7 includes a handler mapping for .exe.config to text/xml, but I’m still amazed that these two different Microsoft technologies don’t work well together.  It seems like blocking web.config, application*.config, etc, still doesn’t need to block *.exe.config.

how on earth I can get IIS 7 to serve *.exe.config files?

A:

Global by:

%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/security/requestFiltering /-fileExtensions.[fileExtension=’.config’]

Per domain:

%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/security/requestFiltering /-fileExtensions.[fileExtension=’.config’]

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS