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!

suexec scgi wrapper etc..

Discussion in 'General Discussion' started by zex, Aug 13, 2001.

  1. zex

    zex Well-Known Member

    Aug 12, 2001
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    I have few questions. First my apache does not have support for suexec. And i download
    buildapache.sea and recompile apache.
    Everything was OK. I change few permissin on cgi\'s that my users are using and all works.
    BUT sys-cgi dir does not work and that is Ok
    becouse suexec check UID & GID of user that run\'s apache and if user mark run\'s some scriptu he must own dir in wich is that script and ofcourse script must have mark uid & gid
    but scripts in /usr/local/cpanel/cgi-sys have uid of root and cpanel user and gid\'s.

    And webalizer does not work if suexec is enabled. Can somebody tell me few answers.
    First: if i put cgi scripts in scgi-bin dir they works in most of the cases BUT what with php scripts. If some user have php script that needs to write to some file that file will have uid & gid of www-data(user that run\'s apache).
    If they put cgi\'s int cgi-bin dir same thing like with php scripts.
    What is right way to make all that works (php files are created with user that owns script, cgi\'s runs normal and also create file that are owned by user who run script.

    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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