Hi guys, not really sure whether this is an issue with REST as a protocol definition or it's a Zend thing...
In my bootstrap I have support for both regular routes and RESTful routes. It is achieved like this: protected function _initRestRoute() { $this->bootstrap('Request'); $front = $this->getResource('FrontController'); $restRoute = new Zend_Rest_Route($front); $defaultRoute = new Zend_Controller_Router_Route( ':controller/:action/*', array('module' => 'default'), array('action' => '^[a-z][a-z0-9.-]+') ); $front->getRouter()->addRoute('rest', $restRoute); $front->getRouter()->addRoute('default', $defaultRoute); } When I go like : http://www.example.com/controller/?format=json the RESTful route catches it and returns the list view just fine, which is exactly what it should do. The problem comes with sub directories - if I have the application sitting in a sub directory, then the REST router no longer catches the route. http://www.example.com/sub/directory/controller/?format=json simply doesn't work. Is this by design? Is it not meant to work? Or am I doing something wrong?