* thttpd and CGI on MPC 850
@ 2003-04-02 20:23 Srini Amble
2003-04-02 22:27 ` Mark Hatle
0 siblings, 1 reply; 3+ messages in thread
From: Srini Amble @ 2003-04-02 20:23 UTC (permalink / raw)
To: linuxppc-embedded
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: thttpd and CGI on MPC 850
2003-04-02 20:23 thttpd and CGI on MPC 850 Srini Amble
@ 2003-04-02 22:27 ` Mark Hatle
2003-04-03 2:17 ` Ricardo Scop
0 siblings, 1 reply; 3+ messages in thread
From: Mark Hatle @ 2003-04-02 22:27 UTC (permalink / raw)
To: Srini Amble; +Cc: linuxppc-embedded
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: thttpd and CGI on MPC 850
2003-04-02 22:27 ` Mark Hatle
@ 2003-04-03 2:17 ` Ricardo Scop
0 siblings, 0 replies; 3+ messages in thread
From: Ricardo Scop @ 2003-04-03 2:17 UTC (permalink / raw)
To: Mark Hatle, Srini Amble; +Cc: linuxppc-embedded
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/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-04-03 2:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-02 20:23 thttpd and CGI on MPC 850 Srini Amble
2003-04-02 22:27 ` Mark Hatle
2003-04-03 2:17 ` Ricardo Scop
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).