View Full Version : running .pl from web server

Phil Jackson
01-27-2010, 10:17 AM
Bonjour, I am new to perl and this is the first time im using a perl script on my web server. Just a few questions if you dont mind;

do you have to put the filename.pl into the /cgi-bin/ folder for it to work?
do you have to set the file permissions to 755?
does the extention have to be .cgi or can it be .pl?

Regards, thank you

Puffin the Erb
01-27-2010, 11:30 AM
1. That's the default, you can configure your own location(s) in your server's config file, for example, httpd.conf
2. Yes
3. You can use any extension, those are the common ones and are best kept to

Have fun