altorouter routes doesn't work
<p>i'm trying to use altorouter for set routing map of my php project, at this moment the file routes.php is this</p>

<pre><code>&lt;?php
$router = new AltoRouter();
$router-&gt;setBasePath('/home/b2bmomo/www/');
/* Setup the URL routing. This is production ready. */
// Main routes that non-customers see
$router-&gt;map('GET','/', '', 'home');
$router-&gt;map( 'GET', '/upload.php', 'uploadexcel');

$match = $router-&gt;match();

// call closure or throw 404 status
if( $match &amp;&amp; is_callable( $match['target'] ) ) {
    call_user_func_array( $match['target'], $match['params'] ); 
} else {
    // no route was matched
    header( $_SERVER["SERVER_PROTOCOL"] . ' 404 Not Found');
}
?&gt;
</code></pre>

<p>i have 2 files in the principal directory of my project, index.php and upload.php, what's wrong?</p>