• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Issue Upload to other vhost Domain with different IPs

dbb

New Pleskian
Hi!

I have two domains:

one.com > ip: 123.123.123.123 > systemuser: user1
sub.two.com > ip: 234.234.234.234 > systemuser: user2

Both domains are on the same server and are managed via the same plesk-panel.

On the sub.two.com domain, i have set up the open_basedir via plesk-panel as follows:
{WEBSPACEROOT}{/}{:}{TMP}{/}{:}/var/www/vhosts/one.com/httpdocs/images/mag/

If I try now over sub.two.com with php a file upload to /var/www/vhosts/one.com/httpdocs/images/mag/ it do not work.

Error:
Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/one.com/httpdocs/images/mag/) is not within the allowed path(s): (/var/www/vhosts/two.com/:/tmp/:/var/www/vhosts/one.com/httpdocs/images/mag/) in /var/www/vhosts/two.com/sub.two.com/upload.php on line xxx

Can someone please help me?

Greetings!
 
Last edited:
Back
Top