I need to limit directory browsing on some folders and need to create the .htaccess file to do it. I have been advised to use the line
What else do I need to add in the file. Is it just the one line?
I will also be using permissions on the htaccess file of 0444. We just need to limit directory browsing only. Some of the folders we are going to use it on contain images for the website. This was a recommendation as a result of a PCI scan. There was also the suggestion of using a blank index.html file set to 0444. Not sure which is the best option here.