I have mod_rewrite set to change mydomain.com or anything missing information to http://www.mydomain.com/ I now need to ignore http://ssl.mydomain.com/ for an e-store. Is there any way to have mod_rewrite do the redirect for the domain name but ignore the rule when it has the ssl. in front of the domain? Thank you.
Before your RewriteRule doing the redirect, add RewriteCond %{HTTP_HOST} !^ssl.mydomain.com$ Code (markup):