CodeIgniter Forums
HTTPS return blank pages (pages outside CI work) - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forum-20.html)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forum-23.html)
+--- Thread: HTTPS return blank pages (pages outside CI work) (/thread-12415.html)



HTTPS return blank pages (pages outside CI work) - El Forum - 10-18-2008

[eluser]Joakim_[/eluser]
Hi.

I just installed a SSL certificate on my server. However when I try to view a HTTPS page in CI, it returns a blank page. With HTTP it works. Other pages outside CI works with HTTPS. Also, if I enter a wrong HTTPS URL in the CI directory it shows the CI 404 error file, so I assume it's just the controllers that don't work?

I tried to change the base url to https with no luck. Can the problem be with the .htaccess file?

It looks like this:

Code:
# REMOVE INDEX.PHP FROM ADDRESS.
RewriteCond $1 !^(index\.php|assets|robots\.txt)
RewriteRule ^(.*)$ /index.php?/$1 [L]

Any help are very much appreciated, thanks! Smile