I have a client project where I need to force HTTPS for a certain folder and force HTTP for all others. I can sucessfully enforce HTTPS for the folder I desire but then all
Just invert the conditions:
RewriteCond %{HTTPS} =on RewriteRule !^my http://%{HTTP_HOST}%{REQUEST_URI} [NC,R=301,L]