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

[eluser]mallix[/eluser]
Hello,

I have just installed a new SSL certificate and i have problems with my htaccess file and config to make it work.

This is my current htaccess file:
Code:
DirectoryIndex index.php
RewriteEngine on
RewriteCond $1 !^(index\.php|robots\.txt|website|shop_files|client|favicon\.ico|style\.css|sitemap.xml)
RewriteRule ^(.*)$ ./index.php/$1 [L]
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/ [R=301,L]

What I want is to have SSL for ALL the website, remove index.php and force www.
I have also multiple Ajax Calls with my domain but also GET and POST calls with external websites.

What should I add to the htaccess file to make it work? Is there another way to work with the framework ?

Thank you


Messages In This Thread
Codeigniter plus SSL - by El Forum - 05-14-2012, 09:45 AM
Codeigniter plus SSL - by El Forum - 05-14-2012, 11:07 AM
Codeigniter plus SSL - by El Forum - 05-14-2012, 12:15 PM
Codeigniter plus SSL - by El Forum - 05-14-2012, 12:26 PM
Codeigniter plus SSL - by El Forum - 05-15-2012, 02:58 AM
Codeigniter plus SSL - by El Forum - 05-15-2012, 06:07 AM
Codeigniter plus SSL - by El Forum - 05-15-2012, 10:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB