A 07:05 21/03/02 -0500, vous avez écrit :
>Hey Everyone,
>          I am running Redhat 7.1, with apache 1.3.22  
>http://64.130.55.193/server-status for more info.  I can't get cgi scripts 
>to work, i can get perl scripts to work, but cgi scripts they return a 
>premature end of header, all the perl scripts and all the cgi scripts are 
>a+x with the user and group of apache.  Any ideas??  
>http://64.130.55.193/server-info

apache/http expects an http message to have the http header lines, then a
blank line, then the data lines.
the error you get means that you don't send the blank line
when you write scripts, apache expects you to send it, this allows you to
add your own headers (usually content-type...) before the data.

so either you do _not_ send it (see your scripts) or there is another error
which makes the script/cgi crash before normal end : see your apache error
log file, there are often helpful informations

i think that if your configuration were really bad, you'd more get a 500
internal error instead

hth
                        - * - * - * - * - * - * -
Bien sûr que je suis perfectionniste !
Mais ne pourrais-je pas l'être mieux ?
        Thierry ITTY
eMail : [EMAIL PROTECTED]               FRANCE



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to