Red Hat Bugzilla – Bug 117959
Apache autoindex corrupt when > 2GB file in tree
Last modified: 2007-11-30 17:07:00 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20040228
Description of problem:
Apache doesnt display the index properly when there is a > 2GB file in
the directory. It doesnt display the file at all, and seems to stop
displaying anything else when it comes across it.
There is no warning or error , just a randomly shortened directory tree.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.put >2GB file in directory
2.no index.html etc and mod_autoindex
Actual Results: as described above
Expected Results: full tree displayed
Bug #109332 refers
Thanks for the report.
Since the server can neither stat() the large file to discover its
size, nor serve it to clients, I think the expected behaviour is that
it is omitted from the directory listing. Do you agree?
Yes - maybe with a warning to the error log, so people can see why it
isnt there if they look - or display in the index with a '>2GB
unknown' type ebtry.
Fix confirmed with httpd-2.0.46-38.ent.
An errata has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.