thttpd and CGI on MPC 850

2003-04-02 Thread Srini Amble

Pardon me for posting this message to this mailing list ( it does not quite
belong here)

I have thttpd (version 2.23beta1) running on my MPC850 board. When I submit
a FORM which in turn invokes a CGI program (written in C) the console
output freezes and I get the error An error occurred while loading
http://192.168.0.128/cgi-bin/example.cgi; on the browser window. The board is
alive because I can ping the board. I can execute the CGI program on the
shell without any problem. I would appreciate any wisdom from the community
at large which will help me in debugging this problem.

BTW, Identical set of thttpd, CGI program, and HTML pages works fine on an
x86 RH 7.3 host.

Thanks in advance
--
Srini Amble

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





thttpd and CGI on MPC 850

2003-04-02 Thread Mark Hatle

Srini Amble wrote:
 Pardon me for posting this message to this mailing list ( it does not quite
 belong here)

 I have thttpd (version 2.23beta1) running on my MPC850 board. When I submit
 a FORM which in turn invokes a CGI program (written in C) the console
 output freezes and I get the error An error occurred while loading
 http://192.168.0.128/cgi-bin/example.cgi; on the browser window. The board is
 alive because I can ping the board. I can execute the CGI program on the
 shell without any problem. I would appreciate any wisdom from the community
 at large which will help me in debugging this problem.

 BTW, Identical set of thttpd, CGI program, and HTML pages works fine on an
 x86 RH 7.3 host.

thttpd's error handing is far from useful.  Do what I have had to do in the
past.  Go into the thttpd source code and add verbose debugging..  Usually the
problem comes down to missing libraries or something minor like that.

--Mark


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/




thttpd and CGI on MPC 850

2003-04-02 Thread Ricardo Scop

On Wednesday 02 April 2003 19:27, Mark Hatle wrote:
 Srini Amble wrote:
  Pardon me for posting this message to this mailing list ( it does not
  quite belong here)
 
  I have thttpd (version 2.23beta1) running on my MPC850 board. When I
  submit a FORM which in turn invokes a CGI program (written in C) the
  console output freezes and I get the error An error occurred while
  loading http://192.168.0.128/cgi-bin/example.cgi; on the browser window.

Just a wilg guess: did you check file permissions?

HTH,

-Scop.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/