Just an update...
I still can't get it to work. Here are my settings in the config file:
ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"
AddHandler cgi-script cgi pl
And here is the URl that loags from that directory:
It shows the code, instead of executing. I thought the Options+ExecCGI would take care of that?