Código PHP:
include "route.php";
echo $_SERVER["REQUEST_URI"];
$router = new AltoRouter();
$router->map( 'GET', '/', function() {
echo "Funciona";
});
Código:
Y simplemente me muestra el primer echo:<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
Código:
Estoy usando XAMPP. /pruebas/index.php


