Current time: 11-15-2024, 12:19 AM Hello There, Guest! (LoginRegister)


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

Posts: 11
Joined: May 2008
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 Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
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
05-09-2008 07:58 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kionchan Offline
Junior Member
*

Posts: 11
Joined: May 2008
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 Offline
Junior Member
*

Posts: 11
Joined: May 2008
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 Offline
Junior Member
*

Posts: 11
Joined: May 2008
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 Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #6
RE: don work cgi-bin
Did you install Mailman?
05-09-2008 08:41 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kionchan Offline
Junior Member
*

Posts: 11
Joined: May 2008
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 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)