<HTML><HEAD>
<META content="MSHTML 6.00.2900.3268" name=GENERATOR>
<STYLE>P {
        MARGIN: 5px 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: ±¼¸²; BACKGROUND-COLOR: #ffffff">
<P>Hello</P>
<P>&nbsp;</P>
<P>I apologize&nbsp;that this question is simple.</P>
<P>I'd like to run some&nbsp;script&nbsp;with cgi in server accessing&nbsp;from client.</P>
<P>i.e.</P>
<P>(in server)</P>
<P>1)&nbsp;write a cgi script in /www/cgi-bin</P>
<P>e.g.</P>
<P>#!/bin/sh</P>
<P># test.cgi</P>
<P>echo "run a program!" &gt; /dev/console</P>
<P>&nbsp;</P>
<P>2)&nbsp;run httpd</P>
<P>&nbsp;</P>
<P>(in client)</P>
<P>3) access to server through the browser or something</P>
<P>e.g.</P>
<P><A href="http://x.x.x.x/cgi-bin/test.cgi">http://x.x.x.x/cgi-bin/test.cgi</A></P>
<P><BR>&nbsp;</P>
<P>I'm a newbie in Busybox.<BR>There are only binaries (httpd, inetd, etc) in Busybox httpd<BR>so I've no idea how to start (how to configure, which files to need more, and so on).<BR>Could you let me know what to do after installing busybox httpd?<BR>or good references or sites?<BR><BR>Thanks in advance.</P>
<P>&nbsp;</P>
<P>P.S.</P>
<P>In order to these, what I did is:</P>
<P>(in server)</P>
<P>- install&nbsp;the busybox (built with httpd).<BR>- write httpd.conf and inetd.conf&nbsp;in /etc.</P>
<P>(document root is /www)<BR>- mkdir /www/cgi-bin and write a test script in that.</P>
<P>- run httpd.</P>
<P>(in client)</P>
<P>- <A href="http://x.x.x.x/cgi-bin/test.cgi">http://x.x.x.x/cgi-bin/test.cgi</A>&nbsp;by I.E.<BR></P>
<P>Of course, it doesn't work.</P>

<style>
        table,tr,td {font-family:±¼¸²;font-size:12px;color:#131B26;}
        a.overlink {color:#131B26;text-decoration:none }        a.overlink:hover{color:#131B26;text-decoration:underline;}
</style>


<br><br>
<table border=0 cellpadding=0 cellspacing=0 width=600>
<tr><td height='2' bgcolor='#D9DEE2' colspan='2'></td></tr>
<tr><td height='10' colspan='2'></td></tr>
<tr>
<td valign='top'><a href='http://www.empas.com' target=_blank><img src='http://ib.emimg.com/empal/slogan/logo_admail.gif' width='101' height='16' border='0'></a></td>
<td valign='top' align='right'><a href='http://mail.empas.com' target=_blank><img src='http://ib.emimg.com/empal/slogan/mail_254x40.gif' border='0'></a></td>
</tr>
</table> </BODY></HTML><img width=1 height=1 src="http://mail.empas.com/rsd/empalrcpt.html/HuDYcWRkaGRwbnA/CdbZZ0wODk0/QJasLYnVzeWJveEBidXN5Ym94bi5ldE/foo.gif">