Busybox HTTPd cgi handlers
Tomáš Mudruňka
Harvie at email.cz
Sat Jul 4 02:46:53 UTC 2009
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20090704/12d1c0a3/attachment.htm>
-------------- next part --------------
Hello,
i have small feature request.
Can you please add filelisting to httpd? Maybe you don't want httpd
to be so big, so i have idea how to enable filelisting without pain.
i am using php in busybox httpd.conf:
*.php:/usr/bin/php-cgi
so why i cannot just set cgi binary to handle directories similar
way? like:
/:/bin/ls
or
__DIR__:/bin/ls
and when you will enable assigning arguments to cgi binary it can be
more cool ever
/:/bin/ls -l
or to have very nice listing with links:
/:/usr/bin/links -source
("links -source $DIRECTORY" is command which can generate html
filelisting for some directory)
i can also write some small busybox-sh script to handle that instead
of big links binary
BTW i miss full documentation for busybox httpd and httpd.conf on
busybox webpage - not only small pieces allaround the google. for
example i can't find any information about security of busybox
httpd.
thanks (and thanks for busybox ;)
Harvie
More information about the busybox
mailing list