Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Dec 16, 2025, 03:48 AM

Title: How to enable/disable the option "Restrict the ability to follow symbolic links"
Post by: Suhitha on Dec 16, 2025, 03:48 AM
Applicable to:


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:


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


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