Is it possible to use symbolic links from a site webspace to other directories on server?
By default, Apache does not follow symbolic links for security reasons, and
Access Forbidden error is returned when trying to access the link. This behavior is controlled by the FollowSymLinks option.
Following symlinks can be enabled for the whole server in the main Apache configuration file:
Alternatively, it can be set on a per-domain basis by placing it into the vhost.conf file.
To enable symlinks for a domain, go to Subscriptions > example.com > Web Server Settings > Additional directives for HTTP
with the content:
<Directory /var/www/vhosts/example.com/httpdocs> Options +ExecCGI +FollowSymlinks </Directory>
For old Plesk versions (less than Plesk 11.5) procedure is the following:
Create custom configuration file
/var/www/vhosts/examople.com/conf/vhost.confwith the content:
<Directory /var/www/vhosts/example.com/httpdocs> Options -Includes +ExecCGI +FollowSymlinks </Directory>
Change group owner to
chown root:apache /var/www/vhosts/example.com/conf/vhost.conf
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain example.com
Note: suexec does not follow symlinks; if you access a CGI script through a symbolic link, it will not work.