title: Returning Requested URL within Custom Error Page in ASP.net
body: <p>Working in ASP.net 3.5 and MVC 1.0.</p>
  
  <p>What I would like to do is return the requested URL, which generates a 404 error, within the custom error page. Much like Google does on their error pages (<a href="http://www.google.com/test" rel="nofollow noreferrer">http://www.google.com/test</a>).</p>
  
  <p>eg.</p>
  
  <p>We're sorry, but the requested address "<a href="http://www.domain.com/nonexistantpage.aspx" rel="nofollow noreferrer">http://www.domain.com/nonexistantpage.aspx</a>" does not exist on this server.</p>
  
  <p>What would be the best way to accomplish this kind of soft 404?</p>
  
  <p><strong>Also, as a side note:</strong> Anyone familiar with returning the custom error page in place of the ugly ...notfound?aspxerrorpath=/awdawd nonsense, while keeping the requested URL in a browser's address bar?  ...I suspect something to do with a server.transfer?</p>