Koozali.org: home of the SME Server

Perl Scripts in CGI

Nev Filby

Perl Scripts in CGI
« on: April 03, 2002, 04:53:29 PM »
I still have no luck. I have placed my perl script in the cgi-bin. I have given it a+x and then tried 75 and above. Still no luck. I have seen other people have had similar prob's but don't say how they go around it. It is not in an ibay. The script is FormMail fromMatt's Script Archive (very popular I know)
In IE i get a message saying could not load file. In netscape the location bar changes to the address of the perl script but nothing happens. The info is not processed, no email sent and no redirect page ocurs. Somebody PLEASE help.

Michael Herger

Re: Perl Scripts in CGI
« Reply #1 on: April 04, 2002, 01:13:23 AM »
How did you transfer them to the server? Try FTP, transferring as ASCII. This will help with line end conversion (AFAIK Windows uses CR/LF, UNIX LF only).

Lars Joergensen

Re: Perl Scripts in CGI
« Reply #2 on: September 02, 2002, 05:12:51 PM »
this is the way to do it.

upload with ftp, and chmod it from mc.

found out that my problem was that i used a pc on the lan, and explorer to copy/past the files, DONT do that, use FTP ascii.