[ale] A new web server

Terry Bailey terry at bitlinx.com
Mon Jan 19 16:50:26 EST 2009







The following is taken from the Apache log file (access_log) on 
CentOS 5.2 64 bit.

65.6.162.178 - - [19/Jan/2009:09:06:56 -0500] "GET /streamc.gif 
HTTP/1.1" 200 11
2405 "http://www.xyz.com/abc.htm" "Mozilla/4.0 (compatible; MSIE 8.0
; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; Zune 2.0)"


According to this, Apache thinks that "streamc.gif" was delivered 
OK.  However with any browser on XP, a refresh has to be done before 
the graphic is seen even though room has been made for it on the Web 
page.  On my Linux box, everything comes down and displays just 
fine.  Unfortunately, 99 % of the people who will go to my Web site 
will be using some flavor of Windows.

Just to check things out, I have this Web site on a box running 
Fedora 9 and everything comes down and displays just fine with any 
browser in Windows.

BTW, this problem is intermittent.

At 06:21 PM 1/18/2009, you wrote:
>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>
>On Jan 18, 2009, at 3:47 PM, Terry Bailey wrote:
>
> > The web server logs seem to be OK.
> >
> > I am using Apache on Centos 5.2 64 bit.  I am assuming that since
> > Apache came as a non-add-on that it is also 64 bit and not in some
> > emulation mode.
> >
> > What refuses to load sometimes are some of the gif and jpg files.  If
> > you do a refresh on the browser, they come down immediately. This is
> > true with different browsers.
>
>Right, I got that part - My original question still remains. Are the
>server logs returning a 200 on the requests which don't actually show
>images, or are they displaying a 304?
>
>For example -
>192.168.1.50 - - [18/Jan/2009:14:02:06 -0500] "GET /images/bggrad.jpg
>HTTP/1.1" 200 415 "http://narco.noctum.net/style.css" "Mozilla/5.0
>(X11; U; Linux i686; en-US; rv:1.9.0.5) Gecko/2008121621 Ubuntu/8.04
>(hardy) Firefox/2.0.0.11" "-"
>192.168.1.50 - - [18/Jan/2009:14:04:16 -0500] "GET /images/bgbody.jpg
>HTTP/1.1" 304 - "http://narco.noctum.net/style.css" "Mozilla/5.0 (X11;
>U; Linux i686; en-US; rv:1.9.0.5  Gecko/2008121621 Ubuntu/8.04 (hardy)
>Firefox/2.0.0.11" "-"
>
>In the first case, it tells me that it returned a 200, and sent 415
>bytes, and in the second, it was cached and returned a 304. I have
>seen instances of a webserver returning a 200 result code, but
>transferring 0 bytes, which is why I'm curious if that's the case here.
>
> > This is a new box running a Xeon dual core with 4 gigs of RAM.
> >
> > My old server, running Apache, had only 512 of RAM and had a clock
> > speed of 450 Megahertz. It served out this Web site just fine.
>
> > I have a computer on my local area network that is running Fedora 9
> > with Apache.  So, I downloaded the Web server data, keeping the same
> > file structure, to it.  It works just great!
>
>Well that means it's likely not an apache configuration problem, and I
>doubt it's hardware as well. So it's probably something in the OS.
>
>Usually when I see weird crap like this, it's a permissions issue, and
>usually after I've already started tearing my hair out because I
>assumed that permissions couldn't possibly be the problem! :) I've
>also seen some strange behavior come about as the result of funky
>rewrite rules.
>
>But check the apache error log as well.
>-----BEGIN PGP SIGNATURE-----
>Version: GnuPG v2.0.9 (Darwin)
>
>iEYEARECAAYFAklzuYsACgkQXzanDlV0VY5OogCfQxTlNmhAEFdVVw2zUAkHkuH1
>DfwAn1MM8jLFNAvRvpPhtRNDHiFHGWzx
>=cj6l
>-----END PGP SIGNATURE-----
>
>_______________________________________________
>Ale mailing list
>Ale at ale.org
>http://mail.ale.org/mailman/listinfo/ale



More information about the Ale mailing list