title: Restricting access from only 3 domains in my htaccess fle - SetEnvIf Referer
body: <p>Hi so i have the below working:</p>
  
  <pre><code>SetEnvIf Referer "^http://sub\.site1\.com/yvvl/Portal/" local_referral
  SetEnvIf Referer "^http://sub\.site2\.com/yvvl/Portal/" auth_referral
  SetEnvIf Referer "^http://sub\.site3\.com/yvvl/Portal/" authC_referral
  Order Deny,Allow
  Deny from all
  Allow from env=local_referral
  Allow from env=auth_referral
  Allow from env=authC_referral
  </code></pre>
  
  <p>what i dont know how to do is wildcard it so anything from those 3 domains will be accepted my preg is not good at all</p>
  
  <p>Thanks</p>