• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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