[BusyBox] busy box httpd with cgi
Marc Leeman
marc.leeman at gmail.com
Fri Jul 22 20:31:30 UTC 2005
> Can someone give me pointers on how Ican get httpd working on my linux
> (embedded) machine. I am using
> BusyBox v1.00. I apologize for my simple questions.
This should give you the basics:
[marc at scorpius busybox-1.00]$ cat .config |grep HTTP |grep -v ^#
CONFIG_HTTPD=y
CONFIG_FEATURE_HTTPD_CONFIG_WITH_MIME_TYPES=y
CONFIG_FEATURE_HTTPD_CGI=y
CONFIG_FEATURE_HTTPD_ENCODE_URL_STR=y
[marc at scorpius busybox-1.00]$ cat ../../../cramfs/etc/inittab |grep httpd
null::wait:/usr/sbin/httpd -h /root/webserver/
[marc at scorpius busybox-1.00]$ ls -al ../../../cramfs/root/webserver/
total 20
drwxr-xr-x 5 marc marc 83 Jul 22 03:21 .
drwx------ 6 marc marc 4096 Jul 22 01:00 ..
drwxr-xr-x 2 marc marc 22 Jul 22 03:40 cgi-bin
-rw-r--r-- 1 marc marc 7406 Jul 22 03:21 favicon.ico
drwxr-xr-x 2 marc marc 4096 Jul 22 03:21 images
drwxr-xr-x 2 marc marc 27 Jul 22 03:21 includes
-rw-r--r-- 1 marc marc 153 Jul 22 03:21 index.html
[marc at scorpius busybox-1.00]$ cat ../../../cramfs/etc/httpd.conf
ip:*
/:*
/cgi-bin/:*
/images/:*
/includes/:*
--
greetz, marc
Ladies, some decorum please. This is a peace memorial, let's not kill
each other.
Rygel - Different Destinations
scorpius 2.6.12 #1 Thu Jun 23 21:32:03 CEST 2005 GNU/Linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://busybox.net/lists/busybox/attachments/20050722/e21d0877/attachment.pgp
More information about the busybox
mailing list