This is a discussion on Apache/Windows served files wrap at 65536 bytes within the Windows Web Servers forums, part of the Web Server and Related Forums category; I have an installation of Apache 2.0.53 running under Windows 2000 SP-4. It serves small files fine, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I have an installation of Apache 2.0.53 running under Windows 2000
SP-4. It serves small files fine, but any files larger than 64K (65536 bytes), are corrupted. Specifically, instead of serving the 65537th byte, it loops back to the first byte of the file. I have seen the problem both with html files and with binary files (Microsoft Office documents). The httpd.conf is fresh "out of the box" except for setting up paths and aliases. I am pretty new at administering web servers. Am I doing something dreadfully wrong, or is this a bug in Apache or Windows? What can I do to fix it? I had the same problem with version 2.0.52. --Dan Menes |
|
|||
|
On 23 Feb 2005, "Dan Menes" <dan.menes@bateswhite.com> wrote in
news:1109181597.607052.8030@l41g2000cwc.googlegrou ps.com: > I have an installation of Apache 2.0.53 running under Windows 2000 > SP-4. It serves small files fine, but any files larger than 64K > (65536 bytes), are corrupted. Specifically, instead of serving > the 65537th byte, it loops back to the first byte of the file. I > have seen the problem both with html files and with binary files > (Microsoft Office documents). I've heard of similar problems caused by Zone Alarm. Do you run it or another software firewall? |
|
|||
|
Some additional information. I have now tried several versions of
Apache, and they don't all behave the same. 1.3.33 works correctly. I have found no version of 2.0 that works. Versions 2.0.42 and later versions behave as I described, recycling after 65536 bytes. Version 2.0.40 simply truncates the file at 65536 bytes. Version 2.0.36 truncates the file at exactly 40k (0xa000 bytes). Does this give anyone any clues? --Dan Dan Menes wrote: > I have an installation of Apache 2.0.53 running under Windows 2000 > SP-4. It serves small files fine, but any files larger than 64K (65536 > bytes), are corrupted. Specifically, instead of serving the 65537th > byte, it loops back to the first byte of the file. I have seen the > problem both with html files and with binary files (Microsoft Office > documents). > > The httpd.conf is fresh "out of the box" except for setting up paths > and aliases. I am pretty new at administering web servers. Am I doing > something dreadfully wrong, or is this a bug in Apache or Windows? > What can I do to fix it? > > I had the same problem with version 2.0.52. > > --Dan Menes |
|
|||
|
On 24 Feb 2005, "Dan Menes" <dan.menes@bateswhite.com> wrote in
news:1109284715.187038.321940@f14g2000cwb.googlegr oups.com: > Problem solved!! > > Putting the line > > EnableSenfile Off Yay! > in httpd.conf fixes the problem. Still don't know what the cause > was. I don't have that line in mine, and I don't see it listed in the docs. Where did it come from? |