title: How to set a basename for react-router Router
body: <p>How can I config the basename, or keep a path in url like <code>localhost:8000/app</code> and when I have to redirect to another Route the Router identify this <code>/app</code> as part of url and do not change it, this is my component structure.</p>
  
  <pre><code>import React from 'react';
  import { Router, Route, browserHistory, IndexRoute } from 'react-router';
  &lt;Router history={browserHistory} &gt;
    &lt;Route component={App}&gt;
      &lt;Route path="/" component={Home} /&gt;
      &lt;Route path="/login" component={LoginContainer} /&gt;
      &lt;Route path="apresentacao"&gt;
        &lt;IndexRoute component={NameContainer} /&gt;
        &lt;Route path="2" component={HsContainer} /&gt;
        &lt;Route path="3" component={McContainer} /&gt;
        &lt;Route path="4" component={MpvContainer} /&gt;
      &lt;/Route&gt;
    &lt;/Route&gt;
  &lt;/Router&gt;
  </code></pre>