Client Login

I uploaded a new script to my cgi-bin but I am getting a server error when run.

This is a common mistake that's easily corrected. Your script was probably uploaded in the wrong format. Upload your Perl or CGI script in ASCII mode, not binary mode. You may need to actually set your FTP program to upload in ASCII mode rather than using the default Auto setting.

Make sure you set permissions on it to 755 after uploading.

Also, be sure the first line of any Perl script points to the Perl interpreter i.e. #!/usr/bin/perl



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read