Ok, here's something interesting. I am using basic authentication on the mod_perl vhost. I use netcat to connect to it:
$ echo 'GET /perl/?action=login HTTP/1.1 Host: test.foo.com ' | nc www 80 Sometimes a try comes back with the following correct response: HTTP/1.1 401 Authorization Required Date: Thu, 23 Sep 2004 03:19:46 GMT Server: Apache/1.3.31 Ben-SSL/1.55 (Debian GNU/Linux) mod_gzip/1.3.26.1a PHP/4.3.4 mod_perl/1.29 WWW-Authenticate: Basic realm="Development" Transfer-Encoding: chunked Content-Type: text/html; charset=iso-8859-1 18d <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <HTML><HEAD> <TITLE>401 Authorization Required</TITLE> </HEAD><BODY> <H1>Authorization Required</H1> This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.<P> </BODY></HTML> 0 However, occasionally a try comes back with _nothing_; the netcat connection is just closed, and the response ends up in the error log instead. The thing is, this is an Apache response, having nothing to do with my code at all (even though I do have PerlSendHeaders Off to manage my own HTTP headers aside from authentication). The client's connection is dropped before Apache even gets into the mod_perl code. The weirdest thing about this is that even though it seems to have nothing to do with my code now, it _only_ happens on the mod_perl vhost. Not on any other vhosts, even ones running the same program in CGI mode. Any hypotheses? -- Ryan Underwood, <[EMAIL PROTECTED]> -- 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