title: Detecting a custom header via htaccess
body: <p>I'm offloading some pages to an external CDN (BunnyCDN), the redirect itself is working fine but getting a loop.</p>
  
  <p>I was originally basing it off HTTP_HOST but BunnyCDN is just forwarding on the original HTTP_HOST, but it appears to be injecting</p>
  
  <p><code>HTTP_CDN_REQUESTURL
  HTTP_CDN_HOST</code></p>
  
  <p>Is there a way I can have htaccess check the HTTP_CDN_HOST header? I had tried a few things such as </p>
  
  <p><code>RewriteCond %{HTTP_CDN_HOST} ^cdn.domain.com [NC]
  .. the redirect</code></p>
  
  <p>Any suggestions? Thanks!</p>