Use this to exclude certain file types from being listed in Apache directory listing. You could use this to stop .pdf files, or video files showing up.
IndexIgnore *.zip *.mp4 *.pdf
Remember that for most rules you must have the
RewriteEngine on rule in your .htaccess file!!!
Please remember to double check and verify any rules that you use. If you do not understand a rule please consult someone who does. Or if you are new, please read this .htaccess beginner guide. We accept no responsibility for your use of these rules - use them at your own risk. Please get in touch if you want us to add a rule!