URL文字列をチェックする単一の書き換えルールを考え出そうとしています。単語が含まれている場合は、httpsバージョンに書き換えます。
例: [これらすべてのケースに対して 1 つの書き換えルールが必要]
$http://www.example.com/account/login to https://www.example.com/account/login
$http://www.example.com/checkout to https://www.example.com/checkout
$http://www/example.com/info/contact to https://www.example.com/info/contact
これは機能せず、理由がわかりません
$RewriteCond %{HTTPS} off
$RewriteCond %{REQUEST_URL} checkout|account
$RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}