Debian, Python, Apache2 fastcgi(fcgi) not working

Hi all,
I have a 500 Internal Server error when I try and run a python program from my apache2 server.

Apache shows any html pages, but I cannot get the fcgi part of it running. I feel there is one part of this that I am missing due to not understanding how it all hangs together.

How do I get Apache to hand off the python index.fcgi program to the fastcgi server?

AddHandler fcgid-script fcgi

doing a
# lsof -n |grep www-data

shows that I have


in there which is good.

If I have this set up correctly, any python program should just display html in the browser with print strings of html statements.

I feel I am almost there, almost cracked it, but what do I need to do to get this running please? What am I forgetting to do?

Do I need a fastcgi process running? If so, how do I tell Apache to hand my program to it?

Thanks for any help you can give me.