[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] CGIIIIIIII!!!!



"Mark G. Castillo" schrieb:

> My error log has some of these:
> 
> [Wed Aug  2 14:19:45 2000] [warn] [client 63.216.217.130] handler
> "cgi-wrapper" not found for: /home/sites/home/cgi-bin/FormMail.pl

should not affect the script. it`s a harmless (but annoying) bug.

apache in the cobalt default configuration does not execute scripts
outside it`s document root (/web/), i`m not even sure if it can access
it; did not check that.
try to create a /cgi-bin/ beneath the /web/ directory, give it the right
permissions (following the instructions in the faq) and see if the
script runs from there. 
 
> The browser window is showing me this:
> CGIWrap encountered an error while attempting to execute this script:

if it doesn`t work beneath the /web/ directory, post the output from the
cgiwrap debugger. if you don`t want to post it on the list, send it
off-list.

> Permissions on the cgi-bin folder and the script itself appear to be correct
> (775).  So what is the permission I am denied?  In general, cgi appears to
> work, as my Search script works.

775 is not good (group writeable). try 700,711,755 (in that order).

> I even checked the list at:
> http://users.iol.it/hpstr/
> And it looks like I'm doing everything right, so how come it comes out all
> wrong?  I'm not kidding, I really need to get this to work.  Could this be a
> sendmail problem, like maybe the whole program is corrupted?

btw: formmail (at least in my opinion) isn`t a very good program
(although it`s not really bad; be sure to use the newest version : 1.6 i
think; bug fixes). you should consider to try alienform 2. much better,
and more configurable, no known security bugs.

-- 

H. P.  Stroebel, Germany

CGI-FAQ for Raq-Newbies :
http://users.iol.it/hpstr/

Yes, I do. But not Yahoo.