How to test if Apache FastCGI is working

How do you know if you have correctly installed FastCGI?

The answer is simple: Run a FastCGI test Script (link to a test script is given below).

If the script works fine then FastCGi is properly installed and is working fine else troubleshoot Apache.