Whenever I add a Handler Mapping for a website in IIS7 Manager it always adds the handler to the site's local web.config file.
Is there a way to tell the manager to only add the handler mapping to the site configuration in applicationHost.config, for example:
<location path="Test Site">
<system.webServer>
<handlers>
<clear />
<add
name="PHP-FastCGI"
path="*.php" verb="GET,HEAD,POST"
modules="FastCgiModule"
scriptProcessor="c:\php\php-cgi.exe"
resourceType="Either"
/>
<-- Other handler mappings here -->
</handlers>
<security>
<authentication>
<anonymousAuthentication
enabled="true"
userName="i_test"
password="[enc:AesProvider:snipped:enc]"
/>
</authentication>
</security>
</system.webServer>
</location>
I know how to do this using appcmd using the /commit:apphost switch but it'd be nice to achieve this via the UI.