I uploaded a new script to my cgi-bin but I am getting a server error when run. طباعة

  • 0

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

هل كانت المقالة مفيدة ؟

« السابق