Michael Baerwolf wrote:
> 
> I would like to put the bootstrap in a subdirectory of the webservers 
> document root. But I'm not having any luck getting it to work.
> 
> Want I want is
> ab.com/members/FooController/action
> ab.com/members/FoobarController/action etc,etc.
> 
> I'm pretty sure I need to change to the route,but have not been able to 
> come up with anything that works.
> 
> Thanks in advance for any help
> Mike
> 
> 

$router     = new Zend_Controller_RewriteRouter();
$controller = Zend_Controller_Front::getInstance();
$controller->setControllerDirectory('./app/controllers')           
        ->setRouter($router)           
        ->setBaseUrl('/members/');  // set the base url!
$response   = $controller->dispatch();
-- 
View this message in context: 
http://www.nabble.com/bootstrap-in-a-subdirectory-of-document-root-tf3196888s16154.html#a8887790
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to