Content of the https://example.com/icons directory is always listed

Follow

Comments

2 comments

  • Avatar
    Stéphan Schamp

    Replace

    httpd -M | grep autoindex

    with

    apachectl -M | grep autoindex

     

    apachectl works on both CentOS and Debian and most likely Ubuntu as well.

  • Avatar
    Alexandr Redikultsev

    Hello, @Stéphan Schamp!

    Thank you for the input!

    I really appreciate your advice, and the article was updated accordingly.

Please sign in to leave a comment.

Have more questions? Submit a request