To see if perl script is working, directly access the script, if you get interneal server error, there is problem with permission or perl is not enabled for your site. What is the site url ?