Forum Moderators: phranque
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(login.php|contactus.php|confirmation.php)$ https://%{HTTP_HOST}/$1 [R=301,L]
RewriteCond %{SERVER_PORT} ^443$
RewriteRule !^(login.php|contactus.php|confirmation.php)$ http://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
<link rel="shortcut icon" href="/images/favicon.ico" />
<link href="/css/global.css" type="text/css" rel="stylesheet"/>
<link href="/css/login.css" type="text/css" rel="stylesheet"/>
<script type="text/Javascript" language="Javascript" src="/js/checker.js"></script>
RewriteCond %{REQUEST_URI} !\.(gif|jpe?g|png|jpe|ico|css|js)$