Hello,
I currently have a LAMP server running with multiple virtual hosts configured. I have one virtual host with a sub directory that contains pdf news letters. I do not want the directory browsable and tried putting an index.php file that re-directs the user to the root directory but when I go to the [web address]/[directory name] in any browser I see the contents of the folder listed.
Currently the news letter list is drawn from a database table and displayed as links on a page in the root directory. The links point to the file name in the sub directory. How do I block users from going to that sub directory and seeing the contents of that directory listed? Would I add another <directory> statement in the vhosts.conf file? If so how would I structure that directive?