I have now taken to using boa as the small webserver. I requires one config file (boa.conf) but that can be made generic and just copied over to the correct directory as needed. My config file is:
in reply to Simple command line web server for running cgis.
This then allows you to change to the correct directory and then to type boa -c . to start the server. It handles CGI errors well which makes it better than mini_httpd for this usage.
AddType application/x-httpd-cgi pl
--tidiness is the memory loss of environmental mnemonics