Changing IIS URL Rewrite config location

Posted by adam on Stack Overflow See other posts from Stack Overflow or by adam
Published on 2010-06-09T10:18:56Z Indexed on 2010/06/09 10:22 UTC
Read the original article Hit count: 321

Filed under:
|
|
|
|

Hi

When used at site level, the IIS7 URL Rewrite 2 module saves its configuration in the web.config file of that site. I'm using Sitecore CMS, and best practice is to store any web.config customisations in a separate config file for ease of upgrading, staging/production setups etc.

Is there any way to specify a different config file for IIS7 redirects?

I know that application-level rewrites are stored in ApplicationHost.config, but I have several sites running on the server and would like to keep them separated.

Thanks, Adam

© Stack Overflow or respective owner

Related posts about iis

Related posts about url