Disable directory but not file listings in httpd.conf
I have apache running on a file server. One particular directory stores complete webpages saved from a browser. Thus there are .html, .htm, .php type files with corresponding directory names. For example, a webpage article saved to the directory has a file named, "Open Source Software Review.htm", and there is a corresponding "Open Source Software Review" directory containing all of the image files, etc. Clicking on the .html, .htm, and .php files brings up the complete webpage. However, it is not necessary to see the corresponding directories, only the file names.
I've been trying to figure out a directive that would allow only the listing of files, and not the corresponding directories. I've looked through the documentation and have tried various directives without success. Is there any way to do this or perhaps to only see certain file types and not directories or other file types? Any help would be greatly appreciated. Thanks.
|