On Friday, March 17, 2006 10:40 AM [EDT], analog-help at talent-aid.org <[EMAIL PROTECTED]> wrote:
> We wish to give identified robots a 303 when they misbehave. > I would like to see this 303 in the status report but not count it as > a hit, like we do not count the 304's on static images as hits. > > Can you please assist me in finding the best combo of includes and > such to let this happen? 303 is considered a redirection, so it isn't counted as a successful hit anyway. I just ran a tst against this sample logfile: 10.1.2.3 - - [17/Mar/2006:16:26:00 +0000] "GET /200.htm HTTP/1.1" 200 12 10.1.2.3 - - [17/Mar/2006:16:26:00 +0000] "GET /303.htm HTTP/1.1" 303 34 10.1.2.3 - - [17/Mar/2006:16:26:00 +0000] "GET /302.htm HTTP/1.1" 302 56 10.1.2.3 - - [17/Mar/2006:16:26:00 +0000] "GET /304.htm HTTP/1.1" 304 78 200.htm and 304.htm are the only entries in the Request Report. 302.htm and 303.htm are listed in the Redirection Report. All 4 codes are listed in the Status Report. The General Summary reads: Successful requests: 2 Successful requests for pages: 2 Redirected requests: 2 Distinct files requested: 2 Aengus +------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html | List archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +------------------------------------------------------------------------

