Welcome Guest, Not a member yet? Register   Sign In
SSL and non SSL in the same site?
#1

[eluser]dmorin[/eluser]
I have a site, and there are some pages, such as the login, register, and other password pages, that I would like to have viewed only over SSL. Then, the bulk of the site should be viewed without SSL.

Is this possible in Codeignitor? Because there is a global site root, I'm trying to think of how I could do it. Maybe have two sites...one with a sub ssl domain, and just have two separate index.php files under different virtual servers pointing to the same application dir? Anyone have other ideas?
#2

[eluser]Derek Allard[/eluser]
I think you'll have to handle this one with some clever use of htaccess.
#3

[eluser]johnwbaxter[/eluser]
I have a server that uses plesk. When i create a domain it lets me have ssl and non ssl in the same dir. I think it does it with vhost.conf files not htaccess.




Theme © iAndrew 2016 - Forum software by © MyBB