[eluser]Oliver New[/eluser]
Hi,
I would like to have a couple of controllers on my site served via https - for example mysite.com/account and mysite.com/checkout.
My web server is capable of hosting both http and https files in the same web root so I'd like to take advantage of that rather than the alternative - which as I see it would be to have a separate https directory and therefore a separate install of CI in it.
So I guess this should be possible via mod_rewrite in the .htaccess file? I've looked around for a few examples but I'm getting nowhere. I'm using a pretty standard .htaccess at the moment:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|img|css|js|common_funcs\.js|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
I'd be very grateful for any ideas!