I recently had a developer build a website for me, and he did it in the CakePHP framework. Everything works well, but because I process payments on this website I need to force an SSL connection. I have a PCI Compliant server, I have the certificate installed, all good to go. Problem is, I am struggling to force the SSL connection.
Usually I would do that through the .httpaccess file, but I am completely unfamiliar with CakePHP and how it routes its page requests. Hopefully someone here can help me out. The .httpaccess file in the sub-directory that holds this website looks like this currently.
Code: Select all
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
</IfModule>