"McDaniels, Chuck" wrote:

> How does Analog deal with HTTP/1.0 vs. HTTP/1.1 requests, in terms of
> counting them as pages?  As an example, one of our sites has lines that
> reference both protocols.  My reading of the RFC indicates that HTTP/1.1
> introduces a "Get-If-Modified" mechanism into the protocol that HTTP/1.0 did
> not have.  It appears that Analog considers only the HTTP/1.0 requests to be
> valid page requests.  Is that everyone else's experience as well?

AFAIK, Analog counts all requests regardless of protocol. If someone come to
your site, hits it with an 'If-Modified-Since' header and chooses to pull it
from the local cache instead, don't you want to count that as a hit? Since
headers are recorded, Analog can't know if it was an HTTP/1.1 GET request or an
HTTP/1.1 GET If-Modified-Since request.




>  Here are a few samples to show you what I mean:
>
> 194.237.81.52 - - [07/Sep/2000:00:10:45 -0700] "GET / HTTP/1.1" 200 2012 "-"
> "Mo zilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)" GET / - "HTTP/1.1"
> 198.77.232.46 - - [07/Sep/2000:00:10:54 -0700] "GET / HTTP/1.1" 302 245
> "http://www.cinecolombia.com.co/fight.htm" "Mozilla/4.0 (compatible; MSIE 5.0;
> Windows 98; DigExt)" GET / - "HTTP/1.1"

In the case of these two, the status codes distinguish the response. The first
sent the full page (2012 bytes) and the second sent a 302-Found (temporary
redirection). This should have no relationship to the HTTP version.


> The bottom line question is if it is correct to count GET requests for /
> (under HTTP/1.1) as valid page requests or not.   Analog does not appear to
> consider them valid.  Please advise via e-mail, and I'll share my results
> with the list.

Analog can also read a 304-Not Modified response (usually sent by a GET request
with If-Modified-Since header when the file is not modified). By default, it
treats these as successful requests. This can be changed with the 304ISSUCCESS
command. See docs/include.html#304.


Jeremy Wadsack
Wadsack-Allen Digital Group


------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------

Reply via email to