« Previous Next »

Thread: Multiple rewrite map includes

Last post 01-06-2009 5:54 AM by DarkMaster. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 01-05-2009, 5:38 AM

    • DarkMaster
    • Top 500 Contributor
    • Joined on 07-06-2006, 5:05 AM
    • Murska Sobota, Slovenia
    • Posts 19

    Multiple rewrite map includes

    Hello.

    Is it possible to have multiple rewrite map includes in web.config? I am asking this as I am going to incorporate automatic rewrite map file update (upon creation of new content in my CMS) and if it were possible, it would greatly easen the process as well as make the navigation/administration trough map files themselves much more clean.

    Who are you? What do you want?
  • 01-05-2009, 7:13 PM In reply to

    • ruslany
    • Top 25 Contributor
    • Joined on 07-01-2007, 7:38 PM
    • Redmond, WA
    • Posts 661

    Re: Multiple rewrite map includes

    The configSource attribute that is used to include an external .config file can be used only on the section elements such as for example <rewriteMaps>, but not on the collection entry element such as <rewriteMap>.  Unfortunately, this means that it is not possible to include multiple rewrite maps defined in separate external files into the same <rewriteMaps> section.

    http://ruslany.net
  • 01-06-2009, 5:54 AM In reply to

    • DarkMaster
    • Top 500 Contributor
    • Joined on 07-06-2006, 5:05 AM
    • Murska Sobota, Slovenia
    • Posts 19

    Re: Multiple rewrite map includes

    Hello.

    Thank you for your time to answer my question. It is *not* exactly what I was wishing for and I did had an idea about that *not* possibility. Oh well, off I got to the hard scripting :)

    Who are you? What do you want?
Page 1 of 1 (3 items)
Microsoft Communities