

Home
Frequently Asked Questions
CGI
This page answers common questions related to Common Gateway Interface (CGI).
This error is very likely due to a mistake in your program. What does this mean and what should I do about it? |
|
|
Error |
| A: | This means that you have an error in your CGI script. Follow the steps below to troubleshoot and correct your problem: |
|
| A: | The Premature end of script headers error is a very common error in the perl/CGI development world. Check all of the following to troubleshoot the error: |
|
| A: | Use
the custom utility: checklog When you the checklog tool from the command line, you will see output similar to the following: |
|
[user@vulcan user]$ checklog |
| A: | In your Secure Shell client: |
|
| A: | #!/usr/bin/perl |
| A: | The permissions required to run CGI scripts from your cgi-bin are as follows: | ||
drwxr-xr-x
19 user students 4096 Oct 12 18:36 /home/user
Note that user
should be your username.
|
| A: | UNIX
is different from PC Operating Systems like Windows. Java is portable:
Operating System environments are not. If you are experiencing problems with files you moved from a windows machine to a UNIX machine, check the following: |
||
File System differences
|
Case Sensitivity
|
In addition to the large number of online references, we have two sample scripts here.
|
If you have any material (questions or answers) that may be useful here,
send them to csis@pace.edu