I have a site in which https works well, but I had to feed the 's' in the https. I was trying to force all http request to https. I tried many things with my .htaccess like this, and many similar.
Finally I did something on my vhosts file which sits on my /etc/apache/sites-enabled/001-mysite.conf
.
The changes I made was this
<VirtualHost *:80>
ServerName www.example.com
Redirect "/" "https://www.example.com/"
</VirtualHost>
and it works just as I wanted. Now what is wrong with my .htaccess. Is it not working because any change I make does not seem make any difference. My .htaccess is located in the root directory of my site. I am running my site from an Amazon Web Services EC2 ubuntu 14.04 VM instance.