title: Bypass .htaccess login when user has a specific cookie SetEnvIf
body: <p>This is how my .htaccess looks like:</p>
  
  <pre><code>AuthType Basic
  AuthName "FORBIDDEN AREA"
  AuthUserfile "../htdocs/site/.htpasswd"
  AuthGroupFile /
  Require valid-user
  
  #Allow valid-user
  Order Deny,Allow
  Deny from all
  SetEnvIf HTTP_COOKIE my_cookie_name norequire
  Allow from env=norequire
  Satisfy any
  </code></pre>
  
  <p>My user has a cookie, and if his cookie has a name "my_cookie_name" I would like that he bypasses the .htaccess login (authentication) so that he doesn't need to enter his username and password. I tried with SetEnvIF but it does't seem to work, or am I doing something wrong. If anyone has some suggestion I would be grateful to hear it?</p>
  
  <p>Thanks</p>