CodeIgniter Forums
CI 3 Fails to load on HTTPS without index.php in URL - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: CI 3 Fails to load on HTTPS without index.php in URL (/showthread.php?tid=71802)



CI 3 Fails to load on HTTPS without index.php in URL - shasha1589 - 09-25-2018

Hi,


I have followed most of the post on the web for this issue but no help.

My .htaccces 

RewriteEngine on
RewriteCond $1 !^(index\.php|uploads|images|ws|vendor|css|js|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]

this works fine for HTTP Request but fails for HTTPS.

When ever i try to access HTTPS e.g http://www.abc.com/locations it works perfectly, but when I try to open in https://www.abc.com/location i get "Not Found The requested URL /locations was not found on this server." and when i open https://www.abc.com/index.php/location  site works perfectly. 

I would like to remove index.php for Https request and make it work in HTTPS request.

Please help me guys. 

Thank you.


RE: CI 3 Fails to load on HTTPS without index.php in URL - ignitedcms - 09-26-2018

Have you removed index.php from the config file?