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

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