• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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