title: React-Router: No Not Found Route?
body: <p>Consider the following:  </p>
  
  <pre><code>var AppRoutes = [
      &lt;Route handler={App} someProp="defaultProp"&gt;
          &lt;Route path="/" handler={Page} /&gt;
      &lt;/Route&gt;,
  
      &lt;Route  handler={App} someProp="defaultProp"&gt;
          &lt;Route path="/" handler={Header} &gt;
              &lt;Route path="/withheader" handler={Page} /&gt;
          &lt;/Route&gt;
      &lt;/Route&gt;,
  
      &lt;Route handler={App} someProp="defaultProp"&gt;
          &lt;Route path=":area" handler={Area} /&gt;
          &lt;Route path=":area/:city" handler={Area} /&gt;
          &lt;Route path=":area/:city/:locale" handler={Area} /&gt;
          &lt;Route path=":area/:city/:locale/:type" handler={Area} /&gt;
      &lt;/Route&gt;
  ];
  </code></pre>
  
  <p>I have an App Template, a HeaderTemplate, and Parameterized set of routes with the same handler (within App template).  I want to be able to serve 404 routes when something is not found.  For example, /CA/SanFrancisco should be found and handled by Area, whereas /SanFranciscoz should 404. </p>
  
  <p>Here's how I quickly test the routes. </p>
  
  <pre><code>['', '/', '/withheader', '/SanFranciscoz', '/ca', '/CA', '/CA/SanFrancisco', '/CA/SanFrancisco/LowerHaight', '/CA/SanFrancisco/LowerHaight/condo'].forEach(function(path){
      Router.run(AppRoutes, path, function(Handler, state){
          var output = React.renderToString(&lt;Handler/&gt;);
          console.log(output, '\n');
      });
  });
  </code></pre>
  
  <p>The problem is /SanFranciscoz is always being handled by the Area page, but I want it to 404.  Also, if I add a NotFoundRoute to the first route configuration, all the Area pages 404.</p>
  
  <pre><code>&lt;Route handler={App} someProp="defaultProp"&gt;
      &lt;Route path="/" handler={Page} /&gt;
      &lt;NotFoundRoute handler={NotFound} /&gt;
  &lt;/Route&gt;,
  </code></pre>
  
  <p>What am I doing wrong?</p>
  
  <p>Here's a gist that can be downloaded and experimented on.</p>
  
  <p><a href="https://gist.github.com/adjavaherian/aa48e78279acddc25315">https://gist.github.com/adjavaherian/aa48e78279acddc25315</a></p>