How to enable/disable directory browsing for a domain in Plesk for Linux

Follow

Comments

4 comments

  • Avatar
    Myhost

    Cant use Location in .htaccess:

    Error: /var/www/vhosts/domain.tld/httpdocs/.htaccess: <Location not allowed here, referer: https://domain.tld/

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov

    Hello Myhost

    This isn't allowed by Apache design.

    0
    Comment actions Permalink
  • Avatar
    Myhost

    So the above fix...?

    0
    Comment actions Permalink
  • Avatar
    Ivan Postnikov (Edited )

    Myhost

    My bad, I've not noticed this)

    I will ask the article author to fix the article.

    Thank you.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Have more questions? Submit a request