• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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