Gossamer Forum
Home : General : Perl Programming :

Help with .pl FILES....

Quote Reply
Help with .pl FILES....
I am running scripts on a Unix server and have had no trouble with cgi scripts, but form some reason, when running certain script with a .PL extention, they start downloading, when I rename them they are fine, but one package I am installing is rather large.

I don't want to have change all the extensions and worse---all the references in those files. Please let me know any thoughts asap.

Thanks,

Dave
Quote Reply
Re: Help with .pl FILES.... In reply to
If this is a problem...ask your servers' sys admin if they can change their access.conf file to include .pl as a recognized executable file.

If they won't do it I believe you are stuck making all the modifications to the script you want to install.

Sorry Frown Rod
Quote Reply
Re: Help with .pl FILES.... In reply to
Did you check the permissions of your PL scripts?
It should be 775 - (rwxr-xr-x)


Regards,

Pasha

------------------
webmaster@find.virtualave.net
http://find.virtualave.net
Quote Reply
Re: Help with .pl FILES.... In reply to
Or if you are on an Apache server try adding a file called .htaccess into the directory with:

AddHandler cgi-script pl

which will tell Apache to run .pl files as well as .cgi. Might not work if your server has disallowed overiding config commands.

Cheers,

Alex