|
Re: .cgi Vs .pl
The extension just tells the server how to handle it. cgi extensions tell it to run the script with whatever program is listed at the top #! line. If the server is not told to do the same with .pl files then it will not know what to do with it.
If you are on an apache server, adding this line to the .htaccess file in the folder will make it parse .pl files through CGI
AddHandler cgi-script .pl
|