How would I exclude the a particular URL from rewrite condition when the REQUEST URI is not a folder or a file.
RewriteCond %{HTTPS} !=on
RewriteCond %{REQUEST_URI} !^(/users/|/products/|/webcall/)(.*)
RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]
/users and /products are real folders whereas/webcall is not a file/folder, but a controller action.
The above role seems to be working for /users and /products, but not for /webcall.
Basically I'm trying to redirect all requests to HTTPS except with the above patterns