Hi,

I have been looking through these options:

The sqwebmail cgi is able to execute (show login screen, identify bad 
logins), can write a file in the users maildir structure, and authenticate 
through vpopmail. 

Then there is the problem of unreadable files/dirs, i can't identify what 
it failing trying to read/write without some way to debug it...

I have also compiled the binary with static libraries to avoid linking 
problems...

regards,
Jesper James
 




"Paul L. Allen" <[EMAIL PROTECTED]>
27-08-03 12:10

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        [sqwebmail] Re: how to debug sqwebmail 3.6.0 premature end of 
headers 
message?


Jesper James Jensen writes:

> When i login it stops with "internal server error", and "Premature end 
of 
> headers" in the apache error_log, no other clue to whats wrong?

This is a standard apache problem with any CGI which terminates with
an error message before outputing the vital Content-Type header.  There
are several reasons why it can happen.  One is that the CGI doesn't have
executable permission.  Another is that your apache has suexec and the
executable has the wrong owner, or the directory it is in is world
writeable, or the CGI is setuid or setgid (or any of the other things that 

upset suexec).  Another is that there is some problem with your system
libraries that are causing the CGI to fail prematurely.

-- 
Paul Allen
Softflare Support







Reply via email to