It sounds like apache is not configured for /var/www/cgi-bin as the cgi-bin directory.
You should check the configuraiton of apache and see where the cgi-bin directory is defined and move the files there or reconfigure apache to use /var/www/cgi-bin as the cgi-bin directory.
2009-08-25 07:01:17 UTC in GNU Hosting Helper