title: Safari html5 video mp4 not playing in htaccess folder,
body: <p>i m just working on a private page with  some videos, which should only be accessible through htaccess. all videos are html5 encoded, and the site works fine for every browser without the htaccess file.</p>
  
  <p>after putting the htaccess file to my server, safari fails to load the mp4-videos. in charles i get an "401 Authorization Required".</p>
  
  <p>i checked several posts here to the same topic, but didn't found a solution yet. if someone can push m in the right direction, go ahead!</p>
  
  <p>some people solved this issue, while adding the mime types to the htaccess-file (see below). didn t work for me...anyone any ideas?</p>
  
  <p>htaccess at root folder</p>
  
  <pre><code>AuthUserFile /rootpath/.htpasswd
  AuthGroupFile /dev/null
  AuthName "Password Protected Area"
  AuthType Basic
  AddType video/ogg .ogv
  AddType video/mp4 .mp4
  AddType video/mp4 .mov
  AddType video/webm .webm
  
  &lt;limit GET POST&gt;
  require valid-user
  &lt;/limit&gt;
  </code></pre>
  
  <p>htacess in video folder</p>
  
  <pre><code>AddType video/ogg .ogv
  AddType video/mp4 .mp4
  AddType video/mp4 .mov
  AddType video/webm .webm
  </code></pre>
  
  <p>even checked it with some html5-example videos, so couldn t be wrong codec. keep in mind, it works perfect without the htaccess file, so i guess my configuration is still wrong. but i have no idea where the bug is...</p>