httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel Reinhardt" <crypto...@cryptodan.net>
Subject Re: [users@httpd] Whole HTML pages in error log (1.3.x)
Date Mon, 04 Jan 2010 11:54:11 GMT


From: Jonathan Hayward 
Sent: 04 January, 2010 3:35
To: users@httpd.apache.org 
Subject: [users@httpd] Whole HTML pages in error log (1.3.x)


Our system has rapidly growing error logs filling up the disk. It appears that much or all
of the traffic to http://JonathansCorner.com/ is logged:


[Sun Jan 03 21:08:25 2010] [warn] Cannot get media type from 'text.html'
[Sun Jan 03 21:08:25 2010] [error] [client ##.##.##.##] <!doctype html public "-//w3c//dtd
html 4.0 transitional//en">
[Sun Jan 03 21:08:25 2010] [error] [client ##.##.##.##] <html>
[Sun Jan 03 21:08:25 2010] [error] [client ##.##.##.##] <head>
[Sun Jan 03 21:08:25 2010] [error] [client ##.##.##.##] <link rel="icon" href="/favicon.ico"
type="image/x-icon">
[Sun Jan 03 21:08:25 2010] [error] [client ##.##.##.##] --rest of webpage snipped--


Why would Apache 1.3.x be pulling a media-type of text.html? The files that would be pulled
are straight, uninterpreted HTML pages--no PHP or server-side parsing involved, and the string
"text.html" does not appear in httpd.conf.


What can or should I be doing so that the pages are served up text/html and not logged to
the error log in typical requests?

-- 

→ Jonathan Hayward, christos.jonathan.hayward@gmail.com
→ An Orthodox Christian author: theology, literature, et cetera.
→ My award-winning collection is available for free reading online:
☩ I invite you to visit my main site at http://JonathansCorner.com/


Have a read here: http://www.ietf.org/rfc/rfc2854.txt


Mime
View raw message