On Thu, Mar 27, 2003 at 03:20:37PM +0100, Sylvain LE GALL wrote:
> Hello, 
> 
> I am a newbie, i just get subscribed to the list. So i apologize if my
> question is silly.
> 
> I use sqwebmail v0.40-2 ( the one you can find in debian / unstable ). I
> am running in a very low resource computer ( 16Mb / 133MHz ). 
> 
> I have tried sqwebmail with boa ( which comply with my low resource env
> ), but it doesn't work. I do the same thing ( same computer / same
> browser ) with Apache, and all is working. 
> 
> So there is some combination which does not work :
> Apache + * : works
> Boa + Mozilla : works
> Boa + * - Mozilla : does not work
> 
> So i don't really understand. Furthermore if in netscape i type :
> cgi-bin/sqwebmail -> "The document contained no data"
> cgi-bin/sqwebmail?index=1 -> Login
> 
> Analyzing tcp flow ( Boa + Netscape
> http://ptit-gallu.home.net/cgi-bin/sqwebmail ):
> GET /cgi-bin/sqwebmail HTTP/1.0
> Connection: Keep-Alive
> User-Agent: Mozilla/4.77 [en] (X11; U; Linux 2.4.20 i686)
> Host: ptit-gallu
> Accept: image/gif, image/x-xbitmap, image/jpeg,
> image/pjpeg, image/png, */*
> Accept-Encoding: gzip
> Accept-Language: en
> Accept-Charset: iso-8859-1,*,utf-8
> 
> 
> HTTP/1.0 200 OK
> Date: Thu, 27 Mar 2003 14:12:08 GMT
> Server: Boa/0.94.11
> Connection: close
> Cache-Control: no-store
> Pragma: no-cache
> URI:
> http://ptit-gallu/cgi-bin/sqwebmail?index=1
> Location:
> http://ptit-gallu/cgi-bin/sqwebmail?index=1
> 
> And then the connection is closed ( as announced by Connection: close ).
> 
> I don't understand why netscape don't get redirected to the location
> specified in the URI.
> 
> If someone know the solution it will help me a lot.
> 
> Thanks
> Sylvain LE GALL
> 
> 

Since no one answer me, i answer myself :

It seems there is a problem in the file cgi/cgiredirect.c

I comment 
/*      if (cgihasversion(1,1))
                printf("Status: 303 Moved\n");*/
and i add       
        printf("Status: 302 Found\n");

And all works : boa+netscape boa+mozilla ( and maybe IE et al ). I will
test it tomorrow.

I know that everybody use apache ( and that apache correct the error
above, i just run apache see what he does and then reimplement the good
response in cgiredirect ).

I think it could be used in the future version of sqwebmail - even if it
is minor -.

I wait for the ack of a sqwebmail developper. I will forward the message
to the author directly if no one acks ( sorry but i am not sure somebody
will read this ).

Thanks for all
Kind regard
Sylvain LE GALL

Reply via email to