How do I run my own CGI programs?
Put your CGI programs in the cgi-bin directory:
/home/username/www/cgi-bin
Then make sure that you set the proper file permissions. By the way, regardless of what any instructions that come with your cgi script say, no script needs to be world writeable or be in a world writeable directory.