On Sat, 27 Apr 2002 21:35:04 -0700, Justin Erenkrantz wrote: >On Sun, Apr 28, 2002 at 02:21:52PM +1000, Brian Havard wrote: >> In current HEAD (and the 2.0.36 tag) I'm seeing an incorrect >> Content-Length: header in the case where: >> >> - The request is for a directory index >> - Config has: DirectoryIndex index.shtml index.html >> - The requested directory has an index.shtml >> - The index.shtml contains an #include virtual >> >> The response contains a Content-Length that is far too small & the body >> isn't chunked (request is HTTP/1.1). If the same index.shtml is requested >> explicitly there is no Content-Length & the body IS chunked so this looks >> like some kind of weird interaction between mod_dir & mod_include. >> >> I would think this is a showstopper for 2.0.36. > >This has already been reported on Bugzilla and here on the list >multiple times: > >http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7966 > >Using the same conditions you listed here, I've been unable to >reproduce it. I think FirstBill said he couldn't reproduce it. >I know Ian can. I guess you can too. I'm guessing it might be >OS-specific or something else, but I can't help unless I could >reproduce it. =( > >I'll take a quick pass at making sure that I can't reproduce, but >I spent a few hours last week trying to track this down without >being able to reproduce it so far. -- justin
Try disabling sendfile & mmap. That's the platform difference I've hit most often. -- ______________________________________________________________________________ | Brian Havard | "He is not the messiah! | | [EMAIL PROTECTED] | He's a very naughty boy!" - Life of Brian | ------------------------------------------------------------------------------
