Welcome Guest, Not a member yet? Register   Sign In
SSL Codeigniter issues
#1

[eluser]Unknown[/eluser]
I am trying to get SSL (https) on only one of my controllers on my development site (which is a subdomain of my live site), but I've had no success.

I have tried using mod_rewrite, with no success, as well as several different SSL helpers. Every time I either get a 404 error when trying to load the controller by https, or it will just load the main page (which I think is a problem with the routes file, however there's no way to specify how to route for https).

What is the proper way to use https on one of my controllers? If I put https in front, shouldn't it automatically use secure connections?

Where am I going wrong?
#2

[eluser]slowgary[/eluser]
As long as you have the cert installed correctly you should be able to access your pages just by adding an S (https://). Just to make sure your issue isn't related to CodeIgniter and redirection/url rewriting, you should visit a page on your domain outside of CodeIgniter. So just make a plain HTML page and visit it, then add an S into the URL and see what happens. If you can access it outside of CodeIgniter than the issue is likely due to mod_rewrite.

If you still can't get SSL, try searching on the forums. People have definitely solved this problem before: http://ellislab.com/forums/viewthread/151117/


Good Luck




Theme © iAndrew 2016 - Forum software by © MyBB