Better yet, if you have access to the server (or virtual host) configuration, just disguise your cgi's as .html files by using the AddType and AddHandler under apache or the equivilant on other webservers. Or for a more "friendly" alternative, add .cgi, .pl, .exe or whatever to the DefaultIndex (or equiv. on other servers).
-c