suEXEC
HiI just recompiled my apache with suexec support, when i did the ./configure for apache, i included these "switches" or whatever
-enable-suexec --suexec-logfile=/var/log/suexec_log
So then i went to /home/bd/public_html/cgi-bin
created a test.cgi file that had this in it:
#!/usr/bin/perl
print "Content-Type: text/html\n\n";
print "<B>What's your id</b>\n";
print "<pre>";
system('id');
print "</pre>";
But it says uid=99(nobody) gid=4294967295 groups=4294967295
cs:/home# ll /home/bd/public_html/cgi-bin/test.cgi
-rwxr-xr-x 1 xsweb xsweb 133 Mar 10 03:58 /home/bd/public_html/cgi-bin/test.cgi
I want it so the id is xsweb
What am i doing wrong? can anyone help?