我的.htaccess如下:
RewriteEngine on
RewriteOptions MaxRedirects=10
RewriteBase /
#if file not exists
RewriteCond %{REQUEST_FILENAME} !-f
#if folder not exists
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?action=$1 [QSA]
如何修改它以将HTTP重定向到HTTPS? 谢谢!