title: Slim Framework .htaccess HTTPS
body: <p>I am using Slim for an API which is working really well under http but when I request the URL in https I get a 404 error.</p>
  
  <p>I think it has something to do with my .htaccess file, but I am not sure. Can anyone point out what am I doing wrong here.</p>
  
  <p><strong>.htaccess</strong> :</p>
  
  <pre><code>RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^(.*)$ index.php [QSA,L]
  </code></pre>