Hi, I am attempting to set up a webserver as a file point for some *.iso images and vmware player filesystems. I am having some difficulty in making very large files available (>2Gb) as they are not seen in the autoindex list and error out when trying to directly download them. Anyone know if there is a workaround enabling this apart from getting apache2.2? System: SuSE10.0 professional, 32bit i686, filesystem involved is ext3 Mark
Mark Keir wrote:
Hi, I am attempting to set up a webserver as a file point for some *.iso images and vmware player filesystems. I am having some difficulty in making very large files available (>2Gb) as they are not seen in the autoindex list and error out when trying to directly download them. Anyone know if there is a workaround enabling this apart from getting apache2.2?
Build apache with large file support. Prefix ./configure with CFLAGS='-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE' I've just now gone from 2.0.54 to 2.0.55 including the above - before I had exactly the same problem you describe, now it works fine. /Per Jessen, Zürich -- http://www.spamchek.com/ - managed anti-spam and anti-virus solution. Let us analyse your spam- and virus-threat - up to 2 months for free.
Thanks for this. Am going to try it by recompiling the SRPM using: rpmbuild -bb --define "build_with_LFS 1" /usr/src/packages/SPECS/apache2.spec So far it seems to compile and show the files in the directory but nothing can be downloaded and the prefork seems to segfault. Probably a dependent library that is binary incompatible somewhere :-(
Build apache with large file support. Prefix ./configure with CFLAGS='-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE'
I've just now gone from 2.0.54 to 2.0.55 including the above - before I had exactly the same problem you describe, now it works fine.
/Per Jessen, Zürich
-- http://www.spamchek.com/ - managed anti-spam and anti-virus solution. Let us analyse your spam- and virus-threat - up to 2 months for free.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Mark Keir wrote:
Thanks for this. Am going to try it by recompiling the SRPM using: rpmbuild -bb --define "build_with_LFS 1" /usr/src/packages/SPECS/apache2.spec So far it seems to compile and show the files in the directory but nothing can be downloaded and the prefork seems to segfault. Probably a dependent library that is binary incompatible somewhere :-(
I usually build apache2 from the source tarball, but I'll try building from the source rpm - shouldn't really make much of a difference. /Per Jessen, Zürich -- http://www.spamchek.com/ - managed anti-spam and anti-virus solution. Let us analyse your spam- and virus-threat - up to 2 months for free.
Per Jessen wrote:
Mark Keir wrote:
Thanks for this. Am going to try it by recompiling the SRPM using: rpmbuild -bb --define "build_with_LFS 1" /usr/src/packages/SPECS/apache2.spec So far it seems to compile and show the files in the directory but nothing can be downloaded and the prefork seems to segfault. Probably a dependent library that is binary incompatible somewhere :-(
I usually build apache2 from the source tarball, but I'll try building from the source rpm - shouldn't really make much of a difference.
I haven't finished the apache build, but on a different machine where I'd built 2.0.5 with LFS, I ended up also having to rebuild php. /Per Jessen, Zürich -- http://www.spamchek.com/ - managed anti-spam and anti-virus solution. Let us analyse your spam- and virus-threat - up to 2 months for free.
participants (2)
-
Mark Keir
-
Per Jessen