PDA

View Full Version : Apache - Partial Content


utkyle
03-25-2005, 07:02
Well ...

Apache worked fine when I first got my VDS. Had the default httpd that came on there (fedora core 1 vds).

I put in a request for my IPs to be added, and of course without checking that they were all working, I decided to upgrade apache using apt-get.

Now every time it seems I request something over 1kb on http, it just dosnt show up. And the access_log shows 206 (Partial Content Code) on the request. (happens on all IPs, even the main one) It's kind of weird too... because its only an issue if the actuall file is more than 1kb? A php file with the phpinfo(); command in it works fine, but a .html file with tons of html wont even load (Source code just says <html></html>)

Not sure if this is an apache or IP related issue. Haven't had any other issues really... ftp works fine, so I assume it's just an apache thing. :confused:

utkyle
03-25-2005, 16:41
Google solved meh problem...

"EnableSendfile off" has to be uncommented in the httpd.conf for apache2...

faqall
03-25-2005, 17:11
Thank you for sharing your solution. Google is the first place i go to when i encounter problems that i cant figure out :)

utkyle
03-25-2005, 17:46
ya its kinda funny because i kept searching for complicated phrases on google, very specific to the problem and my friend just did "virtuozzo apache problem" when he got up this morning... first hit! the answer!

I was then flamed with the word "noob" over and over and over. Google hates me :(