I have problem that seems related to the original question and the answer. I have 4 websites on my IIS 7.0 installation. All of the websites have a similar site structure. One of the folders under the root is /Source and I need to redirect this to /Destination for just Site4.
I tried using the web interface and the appcmd for the HTTPRedirect module to enable and set the redirection as desired on the /Source directory of Site4. This works!
The problem I am facing is that alongwith the Site4, the /Source directories of all the other 3 sites also get enabled for redirect to /Destination (relative to within the same site as /Source). I cant disable it on any of the other 3 sites either, as it immediately disables the redirect setting in all 4 (including Site4) sites.
Can someone help me setup the redirection only for the Site4 site, without automatically setting it up for the other sites too?
Thanks.