View Complete Thread
  • Accessing Application Relative URI in Rewrite Maps

    Apr 06, 2009 11:52 AM|lonevvolf|LINK

    I have noticed that the URL being sent to the rewrite maps is the complete URI, regardless of where the application is running.  In other words, if my application is set up at A, the URL:

    http://localhost/A/B/C

    will send the string:

    "/A/B/C" to the rewrite map, even though I would ideally like to match on an application-relative URI, for portability between production and development.  I would like to send "/B/C" to the map.  Is there a way to do this?