The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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:
    16
    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:
    16
    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:
    16
    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.
     
  4. Creazioni

    Creazioni Well-Known Member

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

    i speak about php.

    SITE A can write into SITE B

    thanks
     

Share This Page