Disabling directory listing

#1
I have two questions (in one). Where we should to place "disable directory listing" rule and can we use original Apache syntax (or should be avoided "
IfModule" part?)? Below is
Apache config:
<IfModule mod_autoindex.c>
  Options -Indexes
</IfModule>
example.
 
Top