title: How to get original url after HttpContext.RewritePath() has been called
body: <p>I am working on a web app which makes use of a 3rd party HttpModule that performs url rewriting. </p>
  
  <p>I want to know if there's any way to determine the original url later on in <code>Application_BeginRequest</code> event. For example...</p>
  
  <p>Original url:<br>
  <code>http://domain.com/products/cool-hat.aspx</code></p>
  
  <p>Re-written url (from 3rd party httpmodule):<br>
  <code>http://domain.com/products.aspx?productId=123</code></p>
  
  <p>In the past I have written HttpModules that store the original url in HttpContext.Items but, this is a 3rd party app and I have no way of doing that.</p>
  
  <p>Any ideas would be appreciated.</p>