-   online problem solving
Try to find the answer here
How to run cgi program on UPDATED server ?

CGI program is a powerful tool for making interactive function for your website. If you want to run cgi program on our server, please make sure that:

1) cgi programs are located in the directory "public_html/cgi-bin/".
2) cgi programs are uploaded in ASCII mode.
3) cgi programs are set to mode 755. (set to 700 for higher security)
4) pictures and html files are not placed into "public_html/cgi-bin/"

You may also want to know:
The path of your home directory: /home/web/ftp_account_username
The path of perl shell: /usr/bin/perl
The path of sendmail: /usr/sbin/sendmail