@habilis wrote:
RewriteCond
directives apply to the nextRewriteRule
found in the.htaccess
file, so the not-file and not-dir conditions were applying to the HTTPSRewriteRule
. The result would be that only non-file/dir requests get redirect to HTTPS.