Brand new to apache, using 2.4 in this case, trying to get a redirect rule to work such that everything on port 80 is redirected to 443, except certain routes.
This rule keeps redirecting everything even the path i specified.
<VirtualHost *:80>
ServerName some-name
ServerAdmin some-name
UseCanonicalName on
RewriteEngine On
RewriteCond "%{REQUEST_URI}" "! /server-status/*"
RewriteCond %{SERVER_PORT} !443
RewriteRule ^(.*)$ https://some-name$1 [R]
</VirtualHost>