I put the following codes into routes.php file. 

```
Router::parseExtensions('js');
Router::connect('/bancha-api.js?models=*', array('controller' => 'Bancha', 'action' => 'index'));

```

I want to visit "localhost/Bancha-cakephp/bancha-api.js" in browser, and it can go to Bancha/index instead.(Bancha-cakephp is subfolder holding all CakePHP files).

But got 

> 
> Error: The requested address '/Bancha-cakephp/bancha-api.js' was not found on this server.
> 
> 
> 

Anybody can help me? Thanks.