[BusyBox] busybox httpd

Hiroshi Ito ito at mlb.co.jp
Thu Nov 4 07:38:15 UTC 2004


From: "Vladimir N. Oleynik" <dzo at simtreas.ru>
Subject: Re: [BusyBox] busybox httpd
Date: Thu, 04 Nov 2004 08:05:19 +0300
> Hiroshi,
> 
> > put a following line to /etc/inetd.conf,
> > www             stream  tcp     nowait  root    /usr/sbin/httpd httpd -h /www
> 
> But more secure if make change "root" to "www.www"
> (and make www user and group).

  Yes, you are right.
  and 
  chown www.www /etc/httpd.conf
  chmod 700 /etc/httpd.conf

> > and, restart inetd 
> 
> as kill SIGHUP

  Oh, Busybox inetd supports it. good. thanks for information.


Luke, additional information is here.

From: "Luke Fimmerzane" <lukefimmerzane at hotmail.com>
Subject: [BusyBox] busybox httpd
Date: Thu, 04 Nov 2004 01:03:09 +0000
> (3) My httpd.conf file is as follows. I took it from source file. Is there 
> an example somewhere of what
> this should look like? I've searched every entry in busybox mail list and 
> could not find any reference apart from see source file, which isn't very 
> useful.

 Your httpd looks enabled CONFIG_FEATURE_HTTPD_AUTH_MD5 option.
 So, your httpd.conf can write as follows.
A:127.0.0.1
A:10.7.10.0/25
D:*
/cgi-bin:foo:$1$$ymRz1g2wK23YTIgLEC9Pq1
/adm:admin:$1$$4A5x7prEOagU6.WOFB9DB1

MD5 passwd is generated by httpd, like this.
# httpd -m setup
$1$$4A5x7prEOagU6.WOFB9DB1
#

  I also do not know, where is a document.
  anyway, I understand it from source.
--------
Hiroshi Ito
Media Lab. Inc.,
URL http://www.mlb.co.jp ( Sorry, Japanese only. )
TEL +81-3-5294-7255  FAX +81-3-5294-7256



More information about the busybox mailing list