CGI File UID - works/how it works?

Discussion in 'Install/Configuration' started by kolorafa, Feb 6, 2009.

  1. kolorafa

    kolorafa New Member

    i am testing some configurations and i read:

    "File UID, set user/group id of external application process based on the user/group id of the external application executable; "

    i add lsapi and set command to my own php file with specific uid/gid

    and php start with global uid, not with executable uid and not with docroot uid

    Why it does not start ? Maybe i readied it wrong?

    Thx for answer and help.
    Last edited: Feb 6, 2009
  2. mistwang

    mistwang LiteSpeed Staff

  3. kolorafa

    kolorafa New Member

    hmm...

    i have external php in vhost level and i use "Doc Root UID" for about 1-2 year this option, but i need/want to spawn php with different uid/gid so i look and see

    File UID

    so i test it and it doesn't work .. or maybe am i some miss understanding ?

    if i change to "Doc Root UID" it spawn with uid from directory, if i set to File UID or Server UID it spawn with "apache" (server uid)

    its normal or this not working in free version of ls?
  4. mistwang

    mistwang LiteSpeed Staff

    File UID option does not work with PHP. For PHP, only "Doc root UID" or "Server UID" will work.
  5. kolorafa

    kolorafa New Member

    so thats why it says "CGI File UID"

    thanks for fast answer and your time :)

Share This Page