Its pathetic, but I confess, somedays this website gets more hits from bots, then from people. Not that I have anything against bots, equal rights and all, but sometimes I just want to know when people are looking at my site. You know?

So I came up with this idea, when I run my analog reports, how about excluding all requests made via HTTP/1.0, which will miss a few bots, and might filter a few people (who?) but is Good Enough. But how? Analog doesn’t support filtering on protocol. An old trick I learned back before analog supported virtual hosts, hard code the data you are looking for into your log format. (and ignore analog’s bitter complaints)

LOGFORMAT (%S %j %u [%d/%M/%Y:%h:%n:%j] "%j %r <b>HTTP/1.1</b>" %c %b "%f" "%B" %j %v)

update [2003/1/25] this doesn’t work anymore as Apple’s Safari uses HTTP/1.0