title: htaccess make folder inaccessible but files accessible to server?
body: <p>I have the folder 'videos' and inside numerous mp4 files.  I've added this htaccess file to the folder.</p>
  
  <pre><code>order deny,allow
  deny from all
  allow from xx.xxx.xxx.xx
  </code></pre>
  
  <p>Now when i try to access the directory via browser it is inaccessible but when i play a video from the file i can't play?</p>
  
  <p>If i remove the .htaccess, i can play the files again.  I put the <code>allow from</code> server ip address, so the files should still be able to be accessed by the server?</p>
  
  <p>How do i solve?</p>