From Arti F. Idiot@21:1/5 to All on Wed May 1 14:43:45 2024
Been playing around with httpd(8), aka bozohttpd, and noticed that with
~user translation enabled (via -u) along with CGI/1.1 interface (via -E)
users can serve stuff under ~/public_html but CGI only works within the
main cgi-bin sub-directory (/var/www/cgi-bin), NOT
~/public_html/cgi-bin/ as I somewhat expected. Is this to be expected
or is there something else one needs to do to allow users to manage
their own CGI stuff?
Current settings:
#/etc/rc.conf
httpd=YES
httpd_flags="-HEXu -c cgi-bin"
httpd_wwwdir="/var/www"
httpd_wwwuser="_httpd"
System info:
$ uname -vm |awk '{while(++i<NF-2)printf"%s ",$i;print $NF}'
NetBSD 9.4 (GENERIC) #0: Sat Apr 20 13:32:22 UTC i386
$ /usr/libexec/httpd -G
bozohttpd version bozohttpd/20210227