in reply to CGI program failed to work

If you can run it from the command line, have you consired switching to the user that Apache is running under? If that fails, it may very well be some sort of permissions problem. Also, check to see if you have more than one version of Perl on the box and if you are running the same version of Perl from the command line as from the CGI program. I've been bitten by the latter.

Cheers,
Ovid

New address of my CGI Course.
Silence is Evil (feel free to copy and distribute widely - note copyright text)

  • Comment on Re: URGENT : CGI program failed to work

Replies are listed 'Best First'.
Re: Re: URGENT : CGI program failed to work
by Sihal (Pilgrim) on Jan 27, 2003 at 21:24 UTC
    Just read your silence is evil text. Just wanted to say good text, and thanx.

      Merci. Regrettably, demerphq pointed out a flaw in my comments vis-a-vis evolution. I can still rewrite it to take into account his comments, but that's Yet Another Project which I haven't gotten around to working on.

      Cheers,
      Ovid

      New address of my CGI Course.
      Silence is Evil (feel free to copy and distribute widely - note copyright text)

        I must confess that I didn't got the whole point on this part about evolution. Didn't see a flaw, because I missed the point about exactly what you meant ( wich is a flaw in itself ;-) *kidding*)