Hi, I've been failing to figure this out and I really need help. What I'm trying to do is add or remove SSL based on the url(s). So I have a directory www.site.com/about/ and there are many sub directories from there. The one in particular I want secured is [
site.com...] however I want anything that is not the application (but still under about) to be http. The rules below are what I've been working with, they work independently but return a redirect loop when both are active. I've been messing with !^/ in the RewriteCond but I cant get it to work. It might be worth noting that these aren't actual directories but SEO creations. Any advise is greatly appreciated.
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} application
RewriteRule ^(.*)$ https://www.site.com/$1 [R,L]
RewriteCond %{SERVER_PORT} 443
RewriteCond %{REQUEST_URI} about
RewriteRule ^(.*)$ http://www.site.com/$1 [R,L]