View Single Post
  #7 (permalink)  
Old July 3rd, 2007, 07:46 PM
planoie's Avatar
planoie planoie is offline
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

On my site when I attempt a bad file I get redirected to this (and I'm pretty sure I didn't do anything special to get that to happen, just configured a custom 404 error page):

    error/err404.aspx?aspxerrorpath=/badfile.aspx

ASP.NET puts the bad url in the querystring. You can get it from there.

-Peter