localhost - No route found using Aura Router for PHP -


the app uses aura router routing. accesing index.php of web app returns "route not found" error message.

here's (seemingly) relevant code:

$path = parse_url($_server['request_uri'], php_url_path);  $route = $router->match($path, $_server);  if (empty($route)) {     header("http/1.0 404 not found");     echo 'route not found'; exit;      } 

i'm running locally, using wampserver. path have app localhost/websites

what missing?

the manual may out here: https://github.com/auraphp/aura.router#handling-failure-to-match

(i'm lead on aura.)


Comments

Popular posts from this blog

tcpdump - How to check if server received packet (acknowledged) -