You need to add .cgi and .pl to CGI extensions box.
You then need to specify your CGI folder (where you have actinic installed). Once you have done this, click the apply settings link (in red) and wait about 5 minutes.
Your pages will then work correctly.