Force https:// cause problems in htaccess

I have a htaccess file that forces everything to load a specific https address.

We have two domains, lets say and points to, but i have a subdomain that i dont want to redirect to

The rules is

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^{REQUEST_URI} [L,R=301]

How do I make an exception for

Source: apache

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.