I am afraid you need go to Apache's site to check the configuration instruction.
Apache1.3.16 ActivePerl. The perl.pl can be run well under command line. But once i input http://127.0.0.1/cgi-bin/perl.pl, it will say "Internal Server Error". I had the SheBang and the path is right. What's wrong?