Consultor Eletrônico



Kbase P135052: Error HTTP 500 with Apache web server when accessing WebSpeed Page
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   05/11/2008
Status: Verified

SYMPTOM(s):

Error HTTP 500 with Apache web server when accessing WebSpeed Page

HTTP ERROR: 500 Internal Server Error

The Apache error log has the following error:

Premature end of script headers: wspd_cgi.sh

FACT(s) (Environment):

The other scripts in the same Apache directory execute correctly
Apache 2.x
Linux Intel
UNIX

CAUSE:

The wspd_cgi.sh that gets copied to the web server's cgi-bin directory is missing first line
#!/user/bin/sh
This line tells Apache to execute the script as sh. If not there, it is not a valid script file

FIX:

Add the above missing line as the first line in wspd_cgi.sh