title: Robots.txt redirect loop when use Cloudflare flexible ssl
body: <p>my magento site <a href="https://pimaapparel.com/" rel="nofollow">https://pimaapparel.com/</a> is using cloudflare flexible ssl</p>
  
  <p>after </p>
  
  <pre><code>SetEnvIf X-Forwarded-Proto https HTTPS=on
  </code></pre>
  
  <p>site stopped redirect loop</p>
  
  <p>after</p>
  
  <pre><code>RewriteCond %{HTTP:CF-Visitor} '"scheme":"http"'
  
  RewriteRule ^(.*)$ https://pimaapparel.com/$1 [L]
  </code></pre>
  
  <p>link redirect properly</p>
  
  <p>but now robots.txt is still in redirect loop, everything else works fine. please help</p>