You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jesper Krogh <je...@krogh.cc> on 2004/03/22 13:49:35 UTC

AuthenNTLM, MSIE and POST ( CONTENT_LENGTH = 0)

Hi.

I really think I've found a bug somewhere in AuthenNTLM or MSIE.

The setup is running:
Apache 1.3.29 with
mod_php4, mod_perl, mod_setenvif, mod_auth, mod_access, mod_rewrite,
mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir,
mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime,
mod_log_config, mod_env, http_core

AuthenNTLM 0.23 or 2.05 (Both works fine at normal authentification)

Most scripts works fine, PHP CGI and perl CGI scripts normally, but when a
MSIE browser does a POST to the setup, the environmentvariable
CONTENT_LENGTH is set to 0 making some CGI scripts that depends on that
fail.

When I'm using Mozilla or Konqueror, it all works fine.

Does anyone have a suggestion on where to debug?

Thanks.

-- 
Jesper Krogh

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: AuthenNTLM, MSIE and POST ( CONTENT_LENGTH = 0)

Posted by Jesper Krogh <je...@krogh.cc>.
I gmane.comp.apache.mod-perl, skrev Stephen Quinney:
  I have had some problems like this in the past with POST and IE that
>  seem to be connected to HTTP1.1 keepalive settings. Coincidentally, it
>  seems those who run the Linux Weekly News site (http://lwn.net) have
>  been having a very similar sounding problem. An article appeared on
>  their site today:
>  The link to the update from MS is: 
> 
>  http://support.microsoft.com/default.aspx?kbid=831167
> 
>  I hope that is of some help to you,

Thanks a lot, that seems to solve the problem. 

-- 
./Jesper Krogh, jesper@krogh.cc
Jabber ID: jesper@jabbernet.dk



-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: AuthenNTLM, MSIE and POST ( CONTENT_LENGTH = 0)

Posted by Stephen Quinney <st...@computing-services.oxford.ac.uk>.
On Mon, Mar 22, 2004 at 01:34:23PM +0000, Jesper Krogh wrote:
> I gmane.comp.apache.mod-perl, skrev Jesper Krogh:
> >  The setup is running:
> >  Apache 1.3.29 with
> >  mod_php4, mod_perl, mod_setenvif, mod_auth, mod_access, mod_rewrite,
> >  mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir,
> >  mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime,
> >  mod_log_config, mod_env, http_core
> > 
> >  AuthenNTLM 0.23 or 2.05 (Both works fine at normal authentification)
> > 
> >  Most scripts works fine, PHP CGI and perl CGI scripts normally, but when a
> >  MSIE browser does a POST to the setup, the environmentvariable
> >  CONTENT_LENGTH is set to 0 making some CGI scripts that depends on that
> >  fail.
> 
> The error_log information when it happens:
> Malformed multipart POST

I have had some problems like this in the past with POST and IE that
seem to be connected to HTTP1.1 keepalive settings. Coincidentally, it
seems those who run the Linux Weekly News site (http://lwn.net) have
been having a very similar sounding problem. An article appeared on
their site today:

"LWN login problems with Internet Explorer
[Front] Posted Mar 21, 2004 17:47 UTC (Sun) by corbet

We have been getting a steady stream of mail from readers who are
having a hard time logging in with Internet Explorer. If you are using
IE, and you are having trouble logging in or getting your password
sent to you, please have a look at this update from Microsoft; chances
are it will solve your problem."

The link to the update from MS is: 

http://support.microsoft.com/default.aspx?kbid=831167

I hope that is of some help to you,

Stephen Quinney

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: AuthenNTLM, MSIE and POST ( CONTENT_LENGTH = 0)

Posted by Jesper Krogh <je...@krogh.cc>.
I gmane.comp.apache.mod-perl, skrev Jesper Krogh:
>  The setup is running:
>  Apache 1.3.29 with
>  mod_php4, mod_perl, mod_setenvif, mod_auth, mod_access, mod_rewrite,
>  mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir,
>  mod_autoindex, mod_include, mod_status, mod_negotiation, mod_mime,
>  mod_log_config, mod_env, http_core
> 
>  AuthenNTLM 0.23 or 2.05 (Both works fine at normal authentification)
> 
>  Most scripts works fine, PHP CGI and perl CGI scripts normally, but when a
>  MSIE browser does a POST to the setup, the environmentvariable
>  CONTENT_LENGTH is set to 0 making some CGI scripts that depends on that
>  fail.

The error_log information when it happens:
Malformed multipart POST

Jesper

-- 
./Jesper Krogh, jesper@krogh.cc



-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html