Categories
zend framework

SSL in Zend Framework

I had to implement SSL on login, cart and checkout pages.

if you want to have SSL enabled for the login page of your application:

First, enter the following code in your ssl.ini file. We will parse it later through the Bootstrap.php file.

[php]

ssl.modules.default.require_ssl = true //-> entire module requires SSL
ssl.modules.default.Index.require_ssl = true //-> entire controller requires SSL
ssl.modules.default.Index.login.require_ssl = true //-> single action requires SSL

[/php]