
Chapter 6. Handling directories
Figure 6-20. Unwanted files removed from the listing
Warning
Just because a file name is not in the listing does not mean that it
cannot be downloaded. If I see alpha.html and guess that there might
be an alpha.html~ I can still request it and the server will serve it to
me. We will deal with blocking these downloads in the Section called
Blocking access based on a file’s name in Chapter 10.
We also have the issue of ordering to consider. At the moment the directories
and plain files are intermingled. We can split these off with the IndexOptions
FoldersFirst option. There is no equivalent FoldersLast option.
IndexOptions FancyIndexing ... FoldersFirst
Figure 6-21. httpd.confPutting subdirectories first in the listing
41
Comentarios a estos manuales