ispCP - Board - Support
don work cgi-bin - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: don work cgi-bin (/thread-3258.html)



don work cgi-bin - kionchan - 05-09-2008 07:44 PM

I have a helloworld.pl in cgi-bin of my domain in /var/www/virtual/domain/cgi-bin... and the when I write in firefox...

http://www.domiain.com/cgi-bin/helloworld.pl

say...:

uid: (2000/vu2000) gid: (2000/2000) cmd: helloworld.pl
cannot get docroot information (/var/www)

why??????


RE: don work cgi-bin - BeNe - 05-09-2008 07:58 PM

The user vu2000 is only for the Admininterface and not for the site.
This should be vu2001, vu2002...

Greez BeNe


RE: don work cgi-bin - kionchan - 05-09-2008 08:00 PM

yes. I put vu2001 or vu2002, and now show this:

target uid/gid (2001/2001) mismatch with directory (2001/2001) or program (2001/33)


RE: don work cgi-bin - kionchan - 05-09-2008 08:06 PM

the files is: vu2002 www-data 37 2008-05-09 12:31 helloworld.pl
now, I change to vu2002 vu2002 37 2008-05-09 12:31 helloworld.pl, change group.
Now, in web show internal server error in log suexec.log say this: [2008-05-09 13:55:05]: uid: (2002/vu2002) gid: (2002/2002) cmd: helloworld.pl, it seems workly, but don't work... Can Do it the file .pl is wrong? have you any file in perl workly?

in file its:
#!/usr/bin/perl
print "hello world";

down promt work perfectly


RE: don work cgi-bin - kionchan - 05-09-2008 08:38 PM

now is workly, my file perl war corrupted!!
but, no, I will install mailman, and guide of this forum not workly...

now say in suexec.log this:

command not in docroot (/usr/lib/cgi-bin/mailman/listinfo)


RE: don work cgi-bin - gOOvER - 05-09-2008 08:41 PM

Did you install Mailman?


RE: don work cgi-bin - kionchan - 05-09-2008 08:47 PM

yes. apt-get install mailman (debian etch stable)