HTTPS and Remove index.php on CodeIgniter |
I am using codeigniter framework,set .htaccess file to remove index.php and trying to enable HTTPS protocol for the server, and something happened.
HTTP:
.htaccess file of my site. Code: DirectoryIndex index.php Is something wrong? thanks a lot.
RewriteCond $1 !^(index\.php|(.*)\.swf|forums|images|css|downloads|js|robots\.txt|favicon\.ico)
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ ./index.php?$1 [L,QSA] replace to RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*) index.php/$1 (08-16-2016, 12:44 AM)chaegumi Wrote: RewriteCond $1 !^(index\.php|(.*)\.swf|forums|images|css|downloads|js|robots\.txt|favicon\.ico) Still not work (08-16-2016, 02:54 AM)billk Wrote:(08-16-2016, 12:44 AM)chaegumi Wrote: RewriteCond $1 !^(index\.php|(.*)\.swf|forums|images|css|downloads|js|robots\.txt|favicon\.ico) It's in your config file... http:// or https:// |
Welcome Guest, Not a member yet? Register Sign In |