cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 vhost plesk 17 multi store multi website

Magento 2 vhost plesk 17 multi store multi website

Hi,

 

I am trying to configure the multi site of magento 2.1.3

Here is the configuration: Plesk Onyx 17.0.17 (CentOS Linux 7.3.1611 (Core)) Magento 2.1.3

I followed the tutorial:

Magento + base url etc ..

Ln -s /var/www/vhosts/domain.com/httpdocs /var/www/vhosts/store2.com/symlink

Chown -h store2: psacln /var/www/vhosts/store2.com/symlink

On plesk: open_basedir on store2.com: /var/www/vhosts/store2.com/symlink:/var/www/vhosts/domain.com/httpdocs:/tmp and directory symlink

But I get: AH00037: Symbolic link not allowed or link not accessible: /var/www/vhosts/store2.com/symlink

Lrwxrwxrwx 1 user psacln 40 Feb 7, 18:55 /var/www/vhosts/store2.com/symlink -> /var/www/vhosts/domain.com/httpdocs

user is the user of the store2

An idea ?

Thanks ALL

2 REPLIES 2

Re: Magento 2 vhost plesk 17 multi store multi website

No one to help me?

Re: Magento 2 vhost plesk 17 multi store multi website

Do you have permissions to create the Symlink in the server? 

 

It looks like open_basedir protection may be in effect which can also prevent the Symlink from being setup.