Max Back-references [Answered]RSS

2 replies

Last post Jul 22, 2009 03:06 AM by AdamLock

  • Max Back-references

    Jul 21, 2009 10:12 AM|AdamLock|LINK


    I need a rule to process 10 querystring parameters, but references only go from 0-9 - is there a way around this?


    My rule is:



    Rewrite to:


    Running this rule gives an invalid back reference error due to referencing {R:10}


    Any help would be appreaciated!



  • Re: Max Back-references

    Jul 21, 2009 01:40 PM|DanielVL|LINK

    1. Open a Command Prompt and execute:

        reg add HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp\Rewrite /v MaxBackReferences /t REG_DWORD /d 10

    2. Recycle the worker process.

    The maximum value is 31.

    Let me know if it doesn't work.


    Backreferences regex Redirect

    Daniel Vasquez Lopez
    IIS Team
  • Re: Max Back-references

    Jul 22, 2009 03:06 AM|AdamLock|LINK

     Thanks Daniel, works great, appreciate your time and your help.