CGI File UID - works/how it works?

#1
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:
#3
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?
 
Top