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.

How do you allow multiple users when using SuPHP?

Discussion in 'Workarounds and Optimization' started by PPNSteve, Sep 15, 2015.

  1. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    Ok HELP!

    Have a client that has a common folder of php files that need to be access by and ran by 2 different users.
    User1: accounts.userdomain.com (user: crzaccou)
    User2: admin.userdomain.com (user: crzadmn)
    user3: no domain, just account crzapp (iser: crzapp)

    This is required due to a SSL requirement (i.e. needing static IP per SSL host)

    also there is an included path in these common files for the web GUI that needs to be routed to the proper web account's public_html (or set a path in httpd.conf virt servers' entries)

    first off, we want to allow 2 separate users (UID/GID) to access a 3rd UID/GID's files and be able to run them. (they are outside public_html in a 3rd account but can be moved as needed.)


    once the scripts are working correctly we then want to point the GUI files correctly for each subdomain either via htaccess or in httpd.conf again there will be 2 users access/running these 3rd user files.


    No joy at Google..

    So can ANYONE point me in the right direction or help out with this?
     
  2. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    We ended up scraping the multiple sub-accounts and went with adding a couple subdomains in the main account.. then modded the confs and dns to point to an IP address so we could add a ssl cert on each. this worked out quite well as everything runs under the main, base account now.

    Thanks for the reply cPanelMichael
    :)

     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page