While the fix to my particular problem is simple enough, it is apparent that there's enough bit rot in tools/util/smokeserv-server.pl that it needs a refactoring. And since there are no unit/regression tests for this program, it's going to need a good phalanxing.
Accordingly, I have created a 'smoke' branch in our repository as a location for doing this work. And I will be changing the name of this ticket. The assistance of anyone who has experience placing CGI programs on servers would be helpful. Among the things that we will probably need is a security audit of the program. Thank you very much. kid51