[ category:
Web Hosting ]
"Internal server error" appears when I try to call my cgi script using browser by URL. What could it be in this case?
· Make sure that the permissions of the script file are set to 755, or user: read, write, execute; group: read, execute; other: read, execute (-rwxr-xr-x)
· Script may contain windows CR symbols at the end of each line
To avoid this you should use Windows Note Pad, instead of MS Word or any other word processor
· Make sure you upload your cgi script in ASCII mode, not binary mode
· Check the script to make sure you call perl using (1st line of the script): #!/usr/bin/perl
Is this information useful for you?
You might want to check other articles in the same category.
[ category:
Web Hosting ]
|