title: htaccess authentication via. cname
body: <p>I need a <code>.htaccess</code> rule which does not ask for a password when you come from the cname: <code>xxx.example.com</code> but I can't get it to work.</p>
  
  <p>My actual <code>.htaccess</code> file looks like this:</p>
  
  <pre><code>AuthType Basic
  AuthName “Entwurf“
  AuthUserFile /my/path/to/.htpasswd
  Require valid-user
  Order deny,allow
  Deny from all
  Allow from 11.22.33.44
  Satisfy any
  </code></pre>
  
  <p>I tried this: </p>
  
  <pre><code>AuthType Basic
  AuthName “Entwurf“
  AuthUserFile /my/path/to/.htpasswd
  Require valid-user
  Order deny,allow
  Deny from all
  Allow from 11.22.33.44
  Allow from xxx.example.com
  Satisfy any
  </code></pre>
  
  <p>But it still asks for the password.</p>
  
  <p>I hope someone can help with it.</p>