The and directives, along with their regexcounterparts, apply directives toparts of the filesystem. Directives enclosed in a section apply tothe named filesystem directory and all subdirectories of thatdirectory (as well as the files in those directories).The same effect can be obtained using .htaccess files. For example, in thefollowing configuration, directory indexes will be enabled for the/var/web/dir1 directory and all subdirectories.

Directives enclosed in a section apply to any file withthe specified name, regardless of what directory it lies in.So for example, the following configuration directives will,when placed in the main section of the configuration file,deny access to any file named private.html regardlessof where it is found.




Parent Directory Index Of Private Images