httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Goodes <d...@planetmirror.com>
Subject [users@httpd] Large File Support in Apache 1.3.33
Date Wed, 06 Jul 2005 22:10:42 GMT
Hi Folks

I remember reading somewhere that Apache 1.3.33 supposedly supports large
files >2G on 32-bit systems. However I'm not having much success.

I've compiled using the following (based on a tip I saw some time ago):


    CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" \
    ./configure \
    "--with-layout=Apache" \
    "--prefix=/opt/local/stow/apache-1.3.33-pm-fe/"


However when I try to fetch a file of 2.1GB in size, i get a negative
Content-Length:


    $wget -S http://localhost/2100.txt
    --08:08:29--  http://localhost/2100.txt
               => `2100.txt.1'
    Resolving localhost... 127.0.0.1
    Connecting to localhost[127.0.0.1]:80... connected.
    HTTP request sent, awaiting response...
     1 HTTP/1.1 200 OK
     2 Date: Wed, 06 Jul 2005 22:08:29 GMT
     3 Server: Apache/1.3.33 (Unix)
     4 Last-Modified: Wed, 27 Apr 2005 02:07:16 GMT
     5 ETag: "1d03-83400000-426ef3d4"
     6 Accept-Ranges: bytes
     7 Content-Length: -2092957696
     8 Keep-Alive: timeout=15, max=100
     9 Connection: Keep-Alive
    10 Content-Type: text/plain


I also get the same response from curl (well, curl exits abnormally).

Any ideas? Is that the correct set of flags to enable large-file support
on 1.3.33 ? TIA.


Regards,

Dan Goodes  :  Systems Programmer  :  dang@planetmirror.com

Help support PlanetMirror - Australia's largest Internet archive
by signing up for PlanetMirror Premium : http://planetmirror.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message