Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

open_base_dir

Discussion in 'General Discussion' started by Creazioni, Jan 5, 2003.

  1. Creazioni

    Creazioni Well-Known Member

    Joined:
    Jan 5, 2003
    Messages:
    133
    Likes Received:
    0
    Trophy Points:
    166
    Hello
    i've a question!.

    i've 3 site into a server PLESK.
    Now i must move tese 3 site on a CPANEL.

    problem:
    all sites have to have permission to write and read other ones.

    Into PLESK i inserted into vhost.conf of all 3 sites:

    &Directory /usr/local/plesk/apache/vhosts/site1.xx/httpdocs&
    php_admin_value open_basedir &/usr/local/plesk/apache/vhosts/site2.xx/httpdocs:/usr/local/plesk/apache/vhosts/site3.xx/httpdocs:/tmp/&
    &/Directory&

    &Directory /usr/local/plesk/apache/vhosts/site1.it/httpdocs&
    php_admin_value include_path &.:/usr/local/plesk/apache/vhosts/site2.xx/httpdocs:/usr/local/plesk/apache/vhosts/site3.xx/httpdocs:/tmp:&
    &/Directory&


    If i move on CPANEL, how can i do???

    ps: i don't want disbale suexec

    THANKS
     
  2. Creazioni

    Creazioni Well-Known Member

    Joined:
    Jan 5, 2003
    Messages:
    133
    Likes Received:
    0
    Trophy Points:
    166
    mm..sorry but i don't understand..
    there is an ADDON - a tool - to make this??


    Thanks
     
  3. dandanfireman

    dandanfireman Well-Known Member
    PartnerNOC

    Joined:
    May 31, 2002
    Messages:
    117
    Likes Received:
    0
    Trophy Points:
    316
    I believe you are talking about 2 different things here

    suexec effects cgi/perl files.

    openbasedir is a php directive. You need to determine which of these you are trying to implement. openbasedir is not implemented by cpanel by default.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Creazioni

    Creazioni Well-Known Member

    Joined:
    Jan 5, 2003
    Messages:
    133
    Likes Received:
    0
    Trophy Points:
    166
    ok perfect

    i speak about php.

    SITE A can write into SITE B

    thanks
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice