or 

 $this->_helper->viewRenderer->setNoRender();
        $this->_helper->getHelper('layout')->disableLayout();
        $this->getResponse()
            ->setBody('HTTP/1.1 404 Not Found')
            ->setRawHeader('HTTP/1.1 404 Not Found');
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/How-to-handle-404-tp3297572p3298210.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to