Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

Change file .cgi to .pl

Quote Reply
Change file .cgi to .pl
Hello,
I download and never have guts to try to install links for a long time and today is the day. My server have cgi-bin, but take file .pl not .cgi, so could someone tell me how to change it. Can I save another copy and just change file name? It's work with other cgi program.
BEG someone please

Quote Reply
Re: Change file .cgi to .pl In reply to
Before you go and mess with all your files, ask your hosting company to assosiate the files properly! There is no reason why NT servers cannot execute a .cgi file with Perl the same way it does with .pl files. Then if they don't do that, then rename .cgi files to .pl and make the proper changes to links.cfg (at the bottom of the file) and in your templates.

Happy Coding,

--Drew
http://www.FindingHim.com
Quote Reply
Re: Change file .cgi to .pl In reply to
I test other cgi and change to .pl and it's work. However when I change path to my cgi-bin (check all file need for links already)

mysite.com/cgi-bin/links/admin

when I press test with link, it lead me (prompt me) to download insetad, please advice

Quote Reply
Re: Change file .cgi to .pl In reply to
Download the file when prompted and open it with a text editor to read the error message.

Posible reasons:
-need absolute path to links.cfg in the eval statements in your scripts.
-incorrect paths in links.cfg
-incorrect permissions

Happy Coding,

--Drew
http://www.FindingHim.com