Thank you so much for this! I have been looking for this answer to my problem for almost a month. My problem was how to overwrite some files on https and the rest on http, but I was able to change above to make it work. Here is a piece of my code. (I have a lot more real .htaccess files on the site.)
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^alvingolf\.com$ [NC]
RewriteCond %{HTTPS} on
RewriteCond %{SERVER_PORT} ^443$
RewriteCond %{REQUEST_FILENAME} !^.*contact-us.html$
RewriteCond %{REQUEST_FILENAME} !^.*register-for-tournaments.html$
RewriteCond %{REQUEST_FILENAME} !^.*form.htm$
Karen farrell
source
share