Perl & FastCGI

I have installed FastCGI and am trying to run a test fcgi script. I have set a “SetHandler” and “AddHandler” in my .htaccess file. For some reason, the .fcgi files run perfectly fine in ssh, but they just wait and wait and wait and then eventually show a blank page when i try and load them in my browser. If I remove the .htaccess file, then I just see the plain script in the browser. this is so frustrating and I have tried everything. Can anyone help?!?!?