$B%^%+!<%0$5$s!"(B<br>$BJVEz$"$j$,$H$&$4$6$$$^$9!#(B<br><br>cgi $B$rL5;vF0:n$5$;$k$3$H$,$G$-$^$7$?!#(B<br><br>$B$4;XE&DL$j!"%P%$%J%j$,@5$7$/%/%m%9%3%s%Q%$%k$G$-$F$*$i$:!"(B<br>file $B$GD4$Y$?$H$3$m!"(BARM$B$N<B9T%U%!%$%k$K$J$C$F$$$^$;$s$G$7$?!#(B<br>$BLUE@$G$7$?!#(B<br><br>(/var/log/messages $B$K$b!"(Bexec $B<B9T%(%i!<$,=P$F$*$j!"%3%^%s%I%i%$%s$+$i$N<B9T;~$K$O(B syntax eror $B$,=P$F$$$^$7$?!#(B)
<br><br>Makefile$B$K!J;d$N!KDL>oDL$j(BCC=gcc$B$H=q$$$F$$$?$3$H$,860x$G$7$?!#(B<br><br>$B$"$j$,$H$&$4$6$$$^$7$?!#(B<br><br><div><span class="gmail_quote">06/09/19 $B$K(B <b class="gmail_sendername">Chris McHarg</b> <<a href="mailto:chris@atmark-techno.com">chris@atmark-techno.com
</a>> $B$5$s$O=q$-$^$7$?(B:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">$B%^%+!<%0$G$9!#(B<br><br>Masao Funato wrote:<br>> Armadillo-220$B>e$G$N(Bcgi$B%U%!%$%k$N:n@=K!$K$D$$$F!"$465<x$/$@$5$$!#(B
<br>><br>> $B8=:_!"(BArmadillo-220$B>e$G!"(BArmadillo-220.Recover$B$r%Y!<%9$K(Bcgi$B$G(BGPIO$B$r%3(B<br>> $B%s%H%m!<%k$7$h$&$H$7$F$*$j$^$9!#(B<br>> $B%V%i%&%6$+$i!"(BArmadillo-220$BFb$N(Bhtml$B%U%!%$%k$d(B index.cgi$B!"(Bsystem.cgi $B$J(B<br>> $B$I$N!"4{B8$N(B cgi $B%U%!%$%k$O1\Mw$9$k$3$H$,$G$-$k$N$G$9$,!"EvJ}$N%*%j%8(B<br>> $B%J%k$N(B cgi $B%U%!%$%k$r1\Mw$7$h$&$H$9$k$H!"(BInternalServerError $B$r5/$3$7(B
<br>> $B$F$7$^$$$^$9!#(B<br>><br>> $B%(%i!<$r5/$3$9(Bcgi$B$N%=!<%9(B hello.c $B$O!"(B<br>> #include <stdio.h><br>><br>> int main(void){<br>> printf("Content-type:text/html\n\n");<br>> printf("<html><head></head><body>\n");
<br>> printf("Hello!<br>\n");<br>> printf("</body></html>\n");<br>> }<br>><br>> $B$G!"%/%m%9%3%s%Q%$%k$7$?%U%!%$%k(B hello.cgi $B$N%Q!<%_%C%7%g%s$O(B755$B$G$9!#(B<br>> /etc/thttpd.conf $B$G$O!"(Bcgipat=**.cgi$B$H$7$F(Bcgi$B$r5v2D$7$F$$$^$9!#(B
<br>><br><br>thttpd$B$,(BInternal Server Error$B$rJV$7$F$$$k$H$$$&$N$O!"(Bhello.cgi$B$r<B9T$G$-(B<br>$B$F$J$$$+$i$G$7$g$&$M!#(B<br><br>$B%V%i%&%6$+$i(Bhello.cgi$B$r(B1$B2s<B9T$7$F$+$i(Bsyslog (/var/log/messages) $B$K(B<br>execve hello.cgi - Exec format error<br>$B$HF1$8$h$&$J%a%C%;!<%8$,=P$F$$$k$+$I$&$+$r3NG'$7$FD:$$$F$b$$$$$G$9$+!#(B
<br>$B$^$?!"(BArmadillo-220$B>e$G!"%3%^%s%I%i%$%s$+$i(Bhello.cgi$B$r<B9T$7$?$i$I$&$J$k(B<br>$B$G$7$g$&$+(B<br><br>$B$*$=$i$/!"%P%$%J%j$,@5$7$/%/%m%9%3%s%Q%$%k$5$F$J$$$+$b$7$l$^$;$s!#(B<br><br>_______________________________________________<br>armadillo mailing list<br><a href="mailto:armadillo@lists.atmark-techno.com">
armadillo@lists.atmark-techno.com</a><br><a href="http://lists.atmark-techno.com/mailman/listinfo/armadillo">http://lists.atmark-techno.com/mailman/listinfo/armadillo</a><br></blockquote></div><br>