Nick Wilcox wrote:

about Mikes problem with getting multiple hits in his apache logs.

The problem is with your body tag. You have background="#808080" instead of
backgroundcolor="#808080". The background attribute is used for images so the
browser is going back to the server looking for an image with the same URL as
the page.

BINGO :-)

Yes Nick that was the problem. The perl script was putting out:
<body background="#808080">
and thus exactly as you said the browser was going back for the second bite. Would also explain why it was just a second or two afterwards to - just enough time for the browser to get to the point where it needed to call up the image to render.


I changed it to:
<body bgcolor="#808080">
and now there is just one hit.

I was looking in the entirely wrong place.
Interestingly though Apache was returning a 200 for that request. So as far as the web server was concerned the request was served OK.


Thanks heaps to Nick and Amos also.

Mike
--
Mike Lake
Caver, Linux enthusiast and interested in anything technical.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to