Thread: .cgi Vs .pl
View Single Post
Old Jan 17th, 2008, 12:22 AM   #5
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Posts: 1,799
Rep Power: 5 Sane will become famous soon enough
Re: .cgi Vs .pl

The fact that the .pl extention does not work, would be the result of Apache's configuration. It is not currently set up to recognize the .pl extention as a valid cgi-script. This configuration is controlled in the httpd.conf file.

For now, if you use the .cgi exention, and link the file to the Perl interpreter with the proper Shebang (#!), it should work fine.
Sane is offline   Reply With Quote