The base URL for my app is '/xx'. I am using version 1.7 of the framework.
I want to redirect to the 'activate' action of the 'user' controller, for
which the url would be '/xx/user/activate'
Putting
$this->_redirect($this->_helper->url('activate', 'user'))
in a controller causes a redirect to '/xx/xx/user/activate', which is
non-existent. It seems that the url helper prepends '/xx' to
'/user/activate' and the redirect method prepends another '/xx'.
I have tried setting the base url explicitly in the front controller:
$this->_front->setBaseUrl('/xx');
but this does not alter the problem behavior.
What am I missing?
--
View this message in context:
http://www.nabble.com/_redirect-%2B-_helper-%3Eurl-%3D%3E-baseUrl-x2-tp20764995p20764995.html
Sent from the Zend Framework mailing list archive at Nabble.com.