Article 5D45S Ho to disable Directory Listing in Apache?

Ho to disable Directory Listing in Apache?

by
n00b_noob
from LinuxQuestions.org on (#5D45S)
Hello,
I'm using CentOS x86_64 as a web server for hosting a WordPress website. The Virtual Host configuration for the WordPress directory is as below:
Code:<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!
Which line of configuration is wrong?

Thank you.latest?d=yIl2AUoC8zA latest?i=xLfQx66pCkY:cSeio0u_l2w:F7zBnMy latest?i=xLfQx66pCkY:cSeio0u_l2w:V_sGLiP latest?d=qj6IDK7rITs latest?i=xLfQx66pCkY:cSeio0u_l2w:gIN9vFwxLfQx66pCkY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments