我正在尝试在网站的 3 个页面上强制 SSL,并将其余页面强制为 http
mydomain.com/register 、 mydomain.com/checkout 和 mydomain.com/thanks 都需要重定向到 https: 但任何其他页面都应该只使用 http:
这可能吗?
我目前在我的 htaccess 中有一些 codeigniter 特定的东西
RewriteEngine on
RewriteCond $1 !^(index\.php|assets|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]