Post Reply  Post Thread 
don work cgi-bin
Author Message
kionchan
Junior Member
*


Posts: 11
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #1
don work cgi-bin

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??????

05-09-2008 07:44 PM
Find all posts by this user Quote this message in a reply
BeNe
Moderator
*****


Posts: 2,604
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 36
Post: #2
RE: don work cgi-bin

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

Greez BeNe



In Holiday´s this week :-)
05-09-2008 07:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kionchan
Junior Member
*


Posts: 11
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #3
RE: don work cgi-bin

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

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

05-09-2008 08:00 PM
Find all posts by this user Quote this message in a reply
kionchan
Junior Member
*


Posts: 11
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #4
RE: don work cgi-bin

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

05-09-2008 08:06 PM
Find all posts by this user Quote this message in a reply
kionchan
Junior Member
*


Posts: 11
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #5
RE: don work cgi-bin

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)

05-09-2008 08:38 PM
Find all posts by this user Quote this message in a reply
gOOvER
Documentation Team
***
Docu Team

Posts: 1,532
Group: Docu Team
Joined: Jul 2007
Status: Offline
Reputation: 13
Post: #6
RE: don work cgi-bin

Did you install Mailman?


OS : Debian 4.0 Etch 64bit
ispCP Version : 1.0.0 r1335 - 27.08.08 (NightlyBuild)
Activated : AWStats dynamic
Mods : update via NightlyUpdateScript

!!! NO SUPPORT VIA PM OR EMAIL !!!
05-09-2008 08:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kionchan
Junior Member
*


Posts: 11
Group: Registered
Joined: May 2008
Status: Offline
Reputation: 0
Post: #7
RE: don work cgi-bin

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

05-09-2008 08:47 PM
Find all posts by this user Quote this message in a reply
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |