Maybe you should go with an action controller helper that checks the request
and, if not SSL, redirects the user to the same page but with HTTPS.

You can then invoke your custom helper from within any controller that needs
it, probably something like this:

public function preDispatch()
{
    $this->_helper->ssl->requireSsl();
}

When called, your SSL helper would analyze the request and if necessary
perform the redirect.

--
Hector


On Fri, Feb 19, 2010 at 1:57 PM, Stephan Stapel <[email protected]>wrote:

> Hi!
>
> I'm searching for a solution to implement SSL redirection within Zend
> Framework applications.
>
> I've already found this posting:
>
> http://www.mail-archive.com/[email protected]/msg10878.html
>
> but wondered if someone has a solution for controlling the SSL enforcement
> on a per controller basis.
>
> Regards,
>
> Stephan
>

Reply via email to