WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: busybox-httpd  (Read 10399 times)

Offline Jason W

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 9730
busybox-httpd
« on: July 02, 2009, 12:19:55 PM »
Thanks to PingPing for busybox-httpd, the httpd server applet of busybox:

Code: [Select]
Title: busybox-httpd.tce
Description: BusyBox HTTP server
Version: 1.14.2
Author: BusyBox is maintained by Denis Vlasenko
Original-site: http://www.busybox.net/downloads/busybox-1.14.2.tar.gz
Copying-policy: GPLv2
Size: 16.0KB
Extension_by: PingPing
Comments: Busybox's httpd applet.
Files installed:
/usr/local/httpd/bin/busybox
/usr/local/httpd/bin/false (symlink)
/usr/local/httpd/sbin/httpd (symlink)
False has been built but is not strictly needed - it comes in handy if chrooting httpd
To start:
sudo /usr/local/httpd/sbin/httpd -p port_number -h document_home_directory -u user:group
Where:
port_number is the port for httpd to listen on (default is 80)
document_home_directory is the directory containing your index.html (you'll need to make one)
user is the user you want httpd to run as eg. 'tc' (default is root)
group is the group 'user' is a member of eg. 'staff'
For example:
sudo /usr/local/httpd/sbin/httpd -p 80 -h /home/tc/htdocs -u tc:staff
Change-log: 2009/7/2 - original build
Current: 2009/7/2


Code: [Select]
Title: busybox-httpd.tcz
Description: BusyBox HTTP server
Version: 1.14.2
Author: BusyBox is maintained by Denis Vlasenko
Original-site: http://www.busybox.net/downloads/busybox-1.14.2.tar.gz
Copying-policy: GPLv2
Size: 12.8KB
Extension_by: PingPing
Comments: Busybox's httpd applet.
Files installed:
/usr/local/httpd/bin/busybox
/usr/local/httpd/bin/false (symlink)
/usr/local/httpd/sbin/httpd (symlink)
False has been built but is not strictly needed - it comes in handy if chrooting httpd
To start:
sudo /usr/local/httpd/sbin/httpd -p port_number -h document_home_directory -u user:group
Where:
port_number is the port for httpd to listen on (default is 80)
document_home_directory is the directory containing your index.html (you'll need to make one)
user is the user you want httpd to run as eg. 'tc' (default is root)
group is the group 'user' is a member of eg. 'staff'
For example:
sudo /usr/local/httpd/sbin/httpd -p 80 -h /home/tc/htdocs -u tc:staff
Change-log: 2009/7/1 - original build
Current: 2009/7/1


Offline ixbrian

  • Retired Admins
  • Sr. Member
  • *****
  • Posts: 436
Re: busybox-httpd
« Reply #1 on: August 23, 2010, 10:24:45 PM »
Hi,
I would like to request that this extension be updated to the current version of busybox as there have been several bug fixes to httpd since busybox 1.14.2.    If the original submitter (PingPing) doesn't have time to update this, let me know and I can update it. 

Thanks,
Brian

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Re: busybox-httpd
« Reply #2 on: August 23, 2010, 11:20:48 PM »
Well, V3.x is currently running BusyBox 1.17.0.

Offline ixbrian

  • Retired Admins
  • Sr. Member
  • *****
  • Posts: 436
Re: busybox-httpd
« Reply #3 on: August 24, 2010, 12:12:33 AM »
Well, V3.x is currently running BusyBox 1.17.0.

The Tiny Core 3.x busybox isn't compiled with the httpd applet; this extension provides a busybox that is configured with httpd.