title: MVC, Elmah, apparent hacker attempts and "generic" IgnoreRoutes
body: <p>Can anyone give advice on filtering my Elmah (<a href="http://code.google.com/p/elmah/" rel="nofollow noreferrer">http://code.google.com/p/elmah/</a>)  exception logs?</p>
  
  <p>Elmah has been a very valuable tool in highlighting my obvious mistakes and oversights in my web application.</p>
  
  <p>However now .. most Elmah entries do not pertain to my own stupidity (well -- perhaps they do -- thus my question), but any advice would be much appreciated.</p>
  
  <p>My Elmah log now has 10'000s of entries similar to:</p>
  
  <ul>
  <li>The controller for path
  '/ws/login.php' could not be found or
  it does not implement IController.</li>
  <li>The controller for path
  '/text/javascript' could not be found
  or it does not implement IController.</li>
  <li>The controller for path
  '/jlkqyvaugdaktp.html' could not be
  found or it does not implement
  IController.  [[ Actually 100s of
  these!! ... Do these random pages
  mean something in "HackerDom"? ]]</li>
  <li>The controller for path
  '/Scripts/thickbox/macFFBgHack.png'
  could not be found or it does not
  implement IController.</li>
  </ul>
  
  <p><strong>So .. to the "Question"</strong></p>
  
  <p>It is obvious that that the  vast majority of these exceptions are being generated by IController ... can I tell Elmah just to "forget" about those and continue to log my <em>genuine</em> exceptions?</p>
  
  <p>Or is it that my very generic MVC IgnoreRoute setup is not good enough? Should I ignore "<em>.htm</em>", "*.php" and all the others so I can more realistically see Elmah reports about pages/items/objects that my application perhaps more genuinely missing?</p>
  
  <p>Many thanks for your time and consideration.</p>
  
  <p>My Existing Route setup looks like this:</p>
  
  <pre><code>         routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
              routes.IgnoreRoute("{*favicon}", new { favicon = @"(.*/)?favicon.ico(/.*)?" });
              routes.IgnoreRoute("{*forums}", new { forums = @"cccForums/.*" });
              routes.IgnoreRoute("{file}.txt");
  
  ///  REAL ROUTES
              routes.MapRoute(
                  "ItemIndex", // Route name
                  "Item/Index/{page}", // URL with parameters
                  new { controller = "PageItem", action = "Index", page = 1} // Parameter defaults
                  );
  
  .............
  .............
  
  
  /// LAST CASE
  
   routes.MapRoute("Error", "{*url}", new { controller = "Site", action = "Map" });
  </code></pre>