1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Plesk WebServer Question

Discussion in 'Plesk for Linux - 8.x and Older' started by wfernley007, Aug 22, 2007.

  1. wfernley007

    wfernley007 Guest

    0
     
    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
     
  2. flupke

    flupke Guest

    0
     
    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
     
  3. Whistler

    Whistler Guest

    0
     
Loading...