• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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