Blocking listing of certain file types in apache directory listing with .htaccess

If you’d like to block listing of *.avi files in the directory listing on your server, add the following to the same directory, in a file named .htaccess:

IndexIgnore *avi

You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.