Thank you. I did: <Directory "/var/www/wp"> Options -Indexes AllowOverride All Require all granted </Directory> But when I browse "https://MyDomain.net/wp-content/plugins" then I can see the content of the plugins directory! Why? On Thursday, January 21, 2021, 07:56:38 PM GMT+3:30, Dino Ciuffetti <dino@xxxxxxxxx> wrote: > Is it possible to disable Directory Listing for a directory and its sub-directory except one of > them? Sure. You can do something like this. Pls set your correct paths. # Disable directory listing for myparentdir and all of its subdirs <Directory /var/www/html/myparentdir> Options -Indexes Require all granted </Directory> # Just enable directory listing for this subdir <Directory /var/www/html/myparentdir/Dir2> Options +Indexes </Directory> --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx