Articles in this section

How to enable/disable the option "Restrict the ability to follow symbolic links" for all domains on a Plesk server

DoNotDelete:docref kb: how-to Plesk for Linux

Applicable to:

  • Plesk for Linux

Question

How to enable/disable the option "Restrict the ability to follow symbolic links" for all domains on a Plesk server?

Answer

  1. Connect to a Plesk server via SSH.

  2. Run one of the following commands:

    • to enable the option "Restrict the ability to follow symbolic links":

      # for i in `plesk bin site --list`; do plesk bin subscription --update-web-server-settings $i -apache-restrict-follow-sym-links true; done

    • to disable the option "Restrict the ability to follow symbolic links":

      # for i in `plesk bin site --list`; do plesk bin subscription --update-web-server-settings $i -apache-restrict-follow-sym-links false; done

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.