Hi all

I have just installed SqWebMail 4.0.4 on a Intel PIII
server running Linux kernel 2.6.5 and Apache 2.0.49
with suEXEC.

My URL is as follows:
https://mail.mydomain.com/cgi-bin/webmail/sqwebmail?index=1

I get the SqWebMail log in screen and when I type user
id and password and try to log in, I get  the
following Apache Error 500 message:
The server encountered an internal error and was
unable to complete your request. 

Error message: 
Premature end of script headers: sqwebmail 

Apache error log file shows following:
[Sat May 29 09:34:37 2004] [error] [client
192.168.1.2] Premature end of script headers:
sqwebmail, referer:
http://mail.mydomain.com/cgi-bin/webmail/sqwebmail?noframes=1

My configure line is as follows:
        ./configure \
        --enable-https=login \
        --with-cachedir=/var/cache/sqwebmail \
        --with-cacheowner=userx \
        --enable-autopurge=2 \
        --enable-maxpurge=365 \
        --enable-cgibindir=/usr/local/share/sqwebmail/cgi-bin
\
        --enable-imagedir=/usr/local/share/sqwebmail/images \

--enable-mimetypes=/usr/local/apache2/conf/mime.types:/etc/mime.types
\
        --with-maxargsize=1048576 \
        --with-maxformargsize=10485760 \
        --with-maxmsgsize=10485760 \
        --with-ispell=/usr/bin/ispell \
        --disable-autorenamesent

Please note, above --enable-cgibindir is not my real
Apache CGI path.

After the SqWebMail is installed, I copied the
sqwebmail CGI stub from the �enable-cgibindir to my
real CGI path and configured user and permissions to
suit Apache suEXEC.

I use authdaemond and MySQL database for user
authentication.

Do I have to enable additional environment variables
for SqWebMail to operate under Apache suEXEC other
than what is by default enabled in Apache suexec.c?

What have I missed? Appreciate your comment very much.

Many thanks in advance.

Kindest regards
Sagara




        
                
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/ 

Reply via email to