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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

httpd process userid's

Discussion in 'General Discussion' started by jatos, Jun 24, 2006.

  1. jatos

    jatos Member

    Joined:
    Jan 17, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    151
    Hi
    I want to setup it up, so that when certain sites are requested on my server, it starts the httpd process under a user other than the standard "nobody" user.

    So say if I call www.thefbsite.com or an url on that domain the httpd process is run as the user fbsite site insteado the default user.
    Jamie
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,472
    Likes Received:
    20
    Trophy Points:
    463
    Location:
    Go on, have a guess
    Apache doesn't work that way. Non-CGI pages always run up under the nobody user, only CGI processes (with suexec and phpsuexec) will run under the username.
     
  3. jatos

    jatos Member

    Joined:
    Jan 17, 2006
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    151
    How do I get change the usernames on CGI things then?
     
  4. richy

    richy Well-Known Member

    Joined:
    Jun 30, 2003
    Messages:
    276
    Likes Received:
    1
    Trophy Points:
    168
    Enable suExec (via WHM) and phpSuExec (via Easy Apache/Apache Update).
     
Loading...

Share This Page