May 2, 2000, 10:04 PM
Post #3 of 4
Re: Yet Another Apache/Perl Question
[In reply to]
If you want to be able to run .pl files as well, open your httpd.conf file in a text editor and look for the following line:
AddHandler cgi-script .cgi
After that line, you can add the following line:
AddHandler cgi-script .pl
While you can put that line (almost) anywhere, I find it easier to keep related lines adjacent to eachother.
Save the updated httpd.conf file and restart Apache. You will be able to run .pl files as well as .cgi files.