Is it possible to chain a Router_Route_Hostname to a Zend_Rest_Route? I'm attempting to redirect http://api.mydomain.com to the "api" module using a RESTful approach and I'm having no such luck. They work independently fine but when I try to combine them everything blows up. Here's the code from my bootstrap.
public function _initRoute()
$front = Zend_Controller_Front::getInstance();
$router = $front->getRouter();
$apiRoute = new Zend_Controller_Router_Route_Hostname('api.test.dev', array('module' => 'api'));
$restRoute = new Zend_Rest_Route($front, array(), array('api'));