Mombu the GNU Linux Forum

Go Back   Mombu the GNU Linux Forum > GNU_Linux > Apache doesn't allow listing/download of files larger than 2GB
User Name
Password
REGISTER NOW! Mark Forums Read




Reply
1 2nd November 07:54
martin tedjawardhana
External User
 
Posts: 1
Default Apache doesn't allow listing/download of files larger than 2GB



Hi everyone,


Can you help me with this one? Well, I have a Gentoo box running
apache 2.0.50. I enabled directory listing and it works well, except
for files over 2GB. Apache does not list those large files and if I
feed the URL directly to the browsers it says forbidden (Permissions
are correct btw). I am aware that there is a 2GB filesize limitation
on ext2, but that is not the case here, since those files are in
Reiserfs filesystem. Is there any solution of this problem?

Thank you in advance.


Martin Tedjawardhana

--
gentoo-user@gentoo.org mailing list
  Reply With Quote


 


2 2nd November 07:55
christian parpart
External User
 
Posts: 1
Default Apache doesn't allow listing/download of files larger than 2GB



apache2 depends on apr, and apr is not compiled with LFS
(Large File Support) enabled. So, apache2 will not serve
files that exceed 2GB.
I was already trying to get rid of this (in our apache-herd
overlay), but mod_php made me really sick of this. So, we've
to wait until mod_php gets official LFS support (that php5
AFAIK is supposed to be), and then, we can enable it in apr,
that means, apache2 can serve such files then.

greets,
Christian Parpart.

--
Netiquette: http://www.ietf.org/rfc/rfc1855.txt
13:32:34 up 12 days, 6:02, 0 users, load average: 0.31, 0.20, 0.18

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)

iD8DBQBBkgspPpa2GmDVhK0RAlBNAJ9FXuNaTaAi0vRk82lvDZ 5f/df7OQCfcN+G
7fwt7R0dVNIZ7mPGPrDCg0A=
=uMya
-----END PGP SIGNATURE-----
  Reply With Quote
Reply


Thread Tools
Display Modes




666