• Resolved hack3rcon

    (@hack3rcon)


    Hello,
    I’m using below configuration for my Virtual Host:

    <Directory "/var/www/wp">
    Options -Indexes +FollowSymLinks
    AllowOverride none
    Require all granted
    </Directory>
    <Directory /var/www/wp/wp-content/plugins/contact-form-7>
          Options -Indexes
    </Directory>
    <Directory /var/www/wp/wp-content/plugins/elementor>
          Options -Indexes
    </Directory>
    <Directory /var/www/wp/wp-content/plugins/elementor-pro>
          Options -Indexes
    </Directory>
    <Directory /var/www/wp/wp-content/plugins/email-subscribers>
          Options -Indexes
    </Directory>
    

    But why I can browse some directories like:
    https://MyDomain.net/wp-includes/js/
    https://MyDomain.net/wp-includes/css/

    What is my configuration problem?

    Thank you.

    • This topic was modified 5 years, 5 months ago by hack3rcon.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Why Directory Listing cannot be disabled?’ is closed to new replies.