• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

FollowSymLinks not possible

tajt02

Basic Pleskian
Hello,

SymLinks are not possible in standard.

I've opened Webserver settings and put into the fields "Additional directives for HTTP(S)" the following code:

Code:
<Directory />
    Options FollowSymLinks
</Directory>

Does not work.

Then:

Code:
Options +FollowSymLinks

Does not work.

The settings were saved in the vhost.conf file, this file is included in the httpd.conf. I have manually restarted the httpd service, but no change. I cannot access my Symlink (403 forbidden).

BUT, whats really misleading: When I create a .htaccess and put "Options +FollowSymLinks" in it, it works!

Why I cannot enable it with these webserver options I made in /smb/web/web-server-settings/ -> Additional Apache directives ?

Thanks.
 
Ok, with

Code:
<Directory /var/www/vhosts/xxx.com/httpdocs>
        Options +FollowSymlinks
</Directory>

it works... Who should know that. I'm in the (webserver-) settings of a special domain and need to specify its var www ... path for this setting...
 
Back
Top