scgiwrap: Unable to find the out the username from the home directory

latpanel

Well-Known Member
Jan 23, 2004
134
0
166
scgiwrap: Caller must be uid 99

I've enabled the CGI wrapper, but the scripts doesnt run. Teh browser shows the message
scgiwrap: Caller must be uid 99

I've enabled suExec

Thanks
 
Last edited:

mickalo

Well-Known Member
Apr 16, 2002
782
5
318
N.W. Iowa
Originally posted by latpanel
I've enabled the CGI wrapper, but the scripts doesnt run. Teh browser shows the message
scgiwrap: Unable to find the out the username from the home directory. is /etc/passwd corrupt?
followed by a list of the enviroment vars.
Of courde my etc/passwd is ok.
I've disabled suexec.

And...now I enable suExec my scritps (in cgi-bin) doesn't run!!!

Help please
If you've enabled your suexec, make sure the "cgi-bin" folder or what ever folder the script(s) reside in, that the folder is chmoded 0755 otherwise you'll get errors. Make sure the script is executable, usually chmoded 0755. Also in the httpd.conf that the User and Group has been added to the account VirtualHost directive.

IMHO the scgiwrapper used it really useless! :)

Mickalo
 

dflteche

Member
Dec 30, 2007
13
0
51
Caller must be uid 99

Hello,

Add following entry in httpd.conf file on the server :

AddHandler cgi-script .cgi .pl