On current, with www/apache24, cgi-bin scripts dont execute, they just list.
What else is needed to make cgi-bin stuff eg printenv & test-cgi execute please ?
My CGI worked on www/apache22 & previous apache.
It would be nicer if the installed httpd.conf.sample supported a working cgi-bin.
grep cgi-bin /usr/local/etc/apache24/httpd.conf
chmod 755 /usr/local/www/apache24/cgi-bin/printenv
firefox http://localhost/cgi-bin/printenv Fails to execute, Just lists itself
# To permit this cgi, replace # on the first line above with the
# appropriate #!/path/to/perl shebang, and on Unix / Linux also
# set this script executable with chmod 755
firefox http://localhost/cgi-bin/printenv Fails.
cp /usr/local/bin/perl /sbin/perl
firefox http://localhost/cgi-bin/printenv #!/sbin/perl