Yes..sounds like apache config or a rewrite problem in your .htaccess. 


Michael Baerwolf wrote:
> 
> I tried using the setBaseUrl(). I cut and pasted the example and it does 
> the same thing, returns 404 Not Found Requested Url. I must have 
> something configured wrong in apache. Sorry for the bother.
> 
> Thanks,
> Mike
> 
> Matt Wade wrote:
>> 
>> 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#a8891157
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to