busybox provides a httpd. This server does not provide dir listing on its own, if index.html missing. If index.html is missing, the httpd checks for wwwroot/cgi-bin/index.cgi . The index.cgi could be placed in /usr/share/doc/busybox-1.34.1/examples/. It could be installed with e.g. the useflag utils. The cgi example: https://git.busybox.net/busybox/tree/networking/httpd_indexcgi.c Documentation about it is in the source: https://git.busybox.net/busybox/tree/networking/httpd.c Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=268cafb9cfeb8eb0a3525ef94052ae4d122db8e9 commit 268cafb9cfeb8eb0a3525ef94052ae4d122db8e9 Author: Viorel Munteanu <ceamac.paragon@gmail.com> AuthorDate: 2022-04-17 07:00:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-06-30 21:40:14 +0000 sys-apps/busybox: Install httpd CGI scripts Closes: https://bugs.gentoo.org/828467 Signed-off-by: Viorel Munteanu <ceamac.paragon@gmail.com> Signed-off-by: Sam James <sam@gentoo.org> sys-apps/busybox/busybox-1.34.1-r1.ebuild | 3 +++ 1 file changed, 3 insertions(+)