• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Plesk WebServer Question

W

wfernley007

Guest
Hey everyone,

I'm not sure if anyone will be able to help me but I have a question regarding my Plesk Web Server.

Right now I have two websites located in the following Plesk directories:
/var/www/vhosts/site1.com/httpdocs/
/var/www/vhosts/site2.com/httpdocs/

Plesk denies site1.com from viewing files in site2.com's directories. I need site1.com to be able to access files from a directory in site2.com's directories.

This would be done in an include. Basically site1.com is trying to include a file in PHP like this:

require("/var/www/vhosts/site1.com/httpdocs/file.php");


Would anyone here know how to allow site1.com to view site2.com's files? I think it has something to do with an open_base restriction. I tried searching here and on Google but can't find anything.

Thanks in advance for your help!

Wes
 
it is related to the user, the user of site1 if probably different from site2. you can change the ownership of the directory and files you try to access, but you might expect the side effect of the user of site2 being unable to access its own files!

I guess there is a better way by using the groups, but you must be sure not to mess up things here, an expert advise required here.

Or just simply declared full access to site2, exposing it to the world.

Regards,

Flupke
 
Back
Top