Question
How to enable/disable the option "Restrict the ability to follow symbolic links" for all domains on a Plesk server?
Answer
-
Connect to a Plesk server via SSH.
-
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
-