Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94653 - apache-2.0 gives "403 forbidden" for files >2g (largefile support)
Summary: apache-2.0 gives "403 forbidden" for files >2g (largefile support)
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
: 105838 155116 160945 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-31 11:44 UTC by Robert Forsman
Modified: 2007-01-08 21:37 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Forsman 2005-05-31 11:44:36 UTC
When I attempt to download a 'large" (> 2 gigabytes) file from apache, I get a
403 forbidden response.  This appears in the error_log:

[Tue May 31 14:39:37 2005] [error] [client 192.168.6.105] (75)Value too large
for defined data type: access to
/mythweb/video_dir/1048_20050528080000_20050528100000.nuv failed, referer:
http://alexandria.purplefrog.com/mythweb/video_dir/

  Files less than 2G with the same permissions download just fine.

  I have had this problem with apache through a couple of upgrades, so it is
likely common to most builds.

Reproducible: Always
Steps to Reproduce:
1. create a file >2G in apache's web space
2. try to download it
3.

Actual Results:  
403 forbidden

Expected Results:  
download really large file.

Portage 2.0.51.19 (default-linux/x86/2005.0/2.4, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.4.28-gentoo-r8 i686)
=================================================================
System uname: 2.4.28-gentoo-r8 i686 AMD Athlon(tm) XP  2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  3 2005, 09:30:40)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/bind /var/qmail/control
/var/www/localhost/htdocs//mythweb/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://mirror.datapipe.net/gentoo
ftp://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/thoth/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X Xaw3d acl alsa apache2 apm arts avi bash-completion
berkdb bitmap-fonts bonobo bzilb cdr crypt cups divx4linux doc dvd dvdr dvdread
emboss encode esd fam flac foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile
imagemagick imlib ipv6 java jpeg junit kde lcd libg++ libwww lirc mad maildir
mikmod mjpeg mmx mmx2 mng motif mp3 mpeg mysql mythtv ncurses nls nojython ogg
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang
spell sse ssl svg svga tcltk tcpd theora tiff transcode truetype truetype-fonts
type1-fonts unicode v4l v4l2 vim-with-x vorbis wmf xinerama xml xml2 xmms xprint
xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-05-31 12:38:08 UTC
http://httpd.apache.org/dev/dist/CHANGES_2.1

 *) Fix handling of files >2Gb on all platforms (or builds) where
     apr_off_t is larger than apr_size_t.  PR 28898.  [Joe Orton]

http://issues.apache.org/bugzilla/show_bug.cgi?id=28898

Comment 2 Michael Stewart (vericgar) (RETIRED) gentoo-dev 2005-05-31 18:37:20 UTC
We will look at putting 2.1.x ebuilds in the the tree after things have settled
down from the current reworking of apache in gentoo. we tried making largefile
support work in the current line of apache, but apr-0.x is too buggy in regards
to that.

--> CANTFIX in 2.0.x
--> LATER when 2.2.x comes out (possibly 2.1.x)

Reference bugs:
bug 14606
bug 24373
bug 69689
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-09-13 13:08:40 UTC
*** Bug 105838 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-14 11:15:58 UTC
*** Bug 155116 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-01-08 21:37:52 UTC
*** Bug 160945 has been marked as a duplicate of this bug. ***