debugging CGI script for apache -- how?

Derek Atkins warlord at MIT.EDU
Fri Aug 18 22:25:08 EDT 2006

No TTY...

I recommend lots of debugging printf's.. Or output to a logfile.


Quoting "R. Luoma" <nobluspam5476 at>:

> I am having problems figuring out how to debug
> a failing script running as under cgi with
> the apache web server.
> The script runs just find by itself.
> However, one of the programs called by the script
> gets the rather frustrating
>  Segmentation fault
> What is different about the apache cgi environment?
> Would any tools be useful?
> Thanks.
> --
> R. Luoma
> _______________________________________________
> Discuss mailing list
> Discuss at

       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available

More information about the Discuss mailing list