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.

Want to Have Shared CGI-BIN

Discussion in 'General Discussion' started by urantian, Oct 7, 2007.

  1. urantian

    urantian Well-Known Member

    Joined:
    Jan 26, 2005
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Fayetteville, Arkansas
    cPanel Access Level:
    Root Administrator
    I have a dedicated server using cPanel 11. I have SUExec disabled, to permit my having a common CGI-BIN for multiple domains. As a result, this is causing trouble with scripted email bouncing back from invalid addresses. The bounced messages return to ROOT, instead of the domain sending them. I'm aware of the security risks, too, with having SUExec disabled, and would like an alternative that works better.

    If I set up reseller account, is it possible for that account's CGI-BIN to be shared among its hosted sub-accounts? Would this work with SUExec enabled? This way, I could have the shared CGI-BIN as well enabling bounced messages returned to the proper domain, while having a more secure server.

    I will appreciate any assistance.

    ---Michael
     
  2. bazzi

    bazzi Well-Known Member

    Joined:
    May 23, 2004
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Maybe it is easyer to enable the suexec and place the script in the cgi-sys...
     
  3. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Unfortunately, short of placing the scripts in the skeleton directory so they are duplicated to every account that reseller creates, that is not possible. SuExec/SuPHP are not aware of who is a reseller vs. who is another user. It merely sees one user trying to access another user's script without sufficient permissions.
     
  4. urantian

    urantian Well-Known Member

    Joined:
    Jan 26, 2005
    Messages:
    88
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Fayetteville, Arkansas
    cPanel Access Level:
    Root Administrator
    Thank you very much for the replies.

    I have a proprietary shoppping cart, running on a secure server, using a different domain than the sites using the cart. I don't think CGI-SYS would work here.

    The CGI-BIN of the common SSL domain had permissions set up for each user domain to maintain cart data. The cart works great because it decodes the site-specific data based on the domain name calling the program. That's why SuEXEC was disabled, but it's become a problem.

    I should be able to maintain the cart data on each user domain's site. However, since each domain's CGI-BIN alias will not be mapped to the common domain path, I will need to do a lot of parameter passing.

    Oh well. It should work, with some effort. Thanks again for the input!

    ---Michael
     
Loading...

Share This Page