Apache 128kb limit problem

Status
Not open for further replies.

Scythy

Posts: 39   +0
I'm having a really odd problem with Apache. It seems any file I host, be it a powerpoint, word file, jpeg, mp3, ect. They all get cut off at 128kb during download. I absoultely cannot figure this out and I need some help. Any help is appreciated. Thanks.
 
Well, I didn't install any additional modules, and I've used apache before but this is the first occurance of the problem. Also I know I'm not using any perl :p
 
Are you sure it is an Apache not a network issue? Can you "download" stuff via localhost normally? How about uploading things somewhere?
 
Well, I know it isn't a network issue because I have no problem uploading things to my friends via messenger or whatever. It just has the problem when someone wants to view or download something from my server. (My PC is the server by the way)

I've also tried to download the file from the server via local host and I get the same odd problem

Example: Lets say I want to put this image on a message board:

My server: Server down for re-install

It shows the incomplete gif, which turns out to be exactly 128kb

Imageshack.us:
ironchefbite7mn.gif


This is the complete gif after it has been uploaded to imageshack. Also proof it isn't a network problem :grinthumb:

I'm really stumped with this, and any help is very appreciated. Thanks!
 
That guy has a voracious appetite!

At least you know/confirmed it is a setting on YOUR PC.
What about firewall-limitations, or your ISP has bandwidth-issues?


LimitRequestBody directive
Syntax: LimitRequestBody bytes
Default: LimitRequestBody 0
Context: server config, virtual host, directory, .htaccess
Status: core
Compatibility: LimitRequestBody is only available in Apache 1.3.2 and later.

This directive specifies the number of bytes from 0 (meaning unlimited) to 2147483647 (2GB) that are allowed in a request body.

The LimitRequestBody directive allows the user to set a limit on the allowed size of an HTTP request message body within the context in which the directive is given (server, per-directory, per-file or per-location). If the client request exceeds that limit, the server will return an error response instead of servicing the request. The size of a normal request message body will vary greatly depending on the nature of the resource and the methods allowed on that resource. CGI scripts typically use the message body for passing form information to the server. Implementations of the PUT method will require a value at least as large as any representation that the server wishes to accept for that resource.

This directive gives the server administrator greater control over abnormal client request behavior, which may be useful for avoiding some forms of denial-of-service attacks.

If, for example, you are permitting file upload to a particular location, and wich to limit the size of the uploaded file to 100K, you might use the following directive:

LimitRequestBody 102400
 
Aye, It's the host of "Iron Chef".

I couldn't find any setting for LimitRequestBody, but I did notice that my apache is version 2.0.54, and "LimitRequestBody is only available in Apache 1.3.2 and later."

Looks like it's time for an upgrade :) I'm going to install a newer version and see if I still have the problem. Thanks for pointing that out Guinness man :grinthumb
 
Have you checked the Apache logs? Every GET is logged in the access log and all errors go to the error log.

LimitRequestBody goes for client requests, not server responses.
 
Sorry for digging up an old thread but I got exactly the same problem, I did not have this problem a while ago then I re-installed Apache with Netserver and I got this problem, tried to re-install it back but without any luck.

Using apache_2.0.55-win32-x86-no_ssl.msi btw.
Scythy did you find any solution?
 
Scythy said:
Well, I know it isn't a network issue because I have no problem uploading things to my friends via messenger or whatever. It just has the problem when someone wants to view or download something from my server. (My PC is the server by the way)

I've also tried to download the file from the server via local host and I get the same odd problem

Imageshack.us: http://img67.echo.cx/img67/8991/ironchefbite7mn.gif

This is the complete gif after it has been uploaded to imageshack. Also proof it isn't a network problem :grinthumb:

I'm really stumped with this, and any help is very appreciated. Thanks!
I saved your GIF to my Apache/2.0.54 (Win32) on a laptop (it is 605k)
and accessed it by URL and it loaded fine.

I note that the conf/httpd.conf is void of 'LimitRequest*'
 
jobeard said:
I saved your GIF to my Apache/2.0.54 (Win32) on a laptop (it is 605k)
and accessed it by URL and it loaded fine.

I note that the conf/httpd.conf is void of 'LimitRequest*'
For some time ago I also used 2.0.54 and it worked just fine, then I re-installed it and I got this problem.
 
Status
Not open for further replies.
Back