SiteCozy

  • My account

How to understand apache access logs

2018-11-09

80.XX.46.XX - - [09/Nov/2018:03:28:20 +0100] "GET /wp-content/uploads/2017/07/mtDNA-Migration-Maps--300x191.png HTTP/1.1" 200 44721 "https://fr.tomydna.com/test-de-familytreedna-le-site-pour-trouver-ses-origines-genetiques/" "Mozilla/5.0 (iPhone; CPU iPhone OS 11_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1"
  • 80.XX.46.XX => This is the adress IP of the client that requested the ressource (page, image)
  • [09/Nov/2018:03:28:20 +0100] => the date of the request, the time and the GMT time differen
  • “GET => GET is the method to retrieve the resource. This also could be POST and HEAD.
  • /wp-content/uploads/2017/07/mtDNA-Migration-Maps–300×191.png => This is the resource (here it is an image file)
  • HTTP/1.1″ => the URI and HTTP/1.1 is the protocol that was used for the request. This could have been HTTP/2 
  • 200 => This is the HTTP code response. The answer could also be 404, 500, 301 for a redirect.
  • 44721 => This is the number of bytes in the response. In other words, this is the response length.
  • “https://fr.tomydna.com/test-de-familytreedna-le-site-pour-trouver-ses-origines-genetiques/” => Referer: This is the previous page from where the request has been done. if you see “-” in place of the url, this means there were no referer. For instance, the user directly typed the URL in the URL field of the browser or accessed it from a bookmark or clicked on a URL in an email.
  • “Mozilla/5.0 (iPhone; CPU iPhone OS 11_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Mobile/15E148 Safari/604.1” => user-agent: This is an arbitrary string that defines the client. In this case, it was an iPhone. However, it can also be GoogleBot, Firefox for PC, Chrome for Pc, Firefox for Mac, Safari for Mac….

Related Posts:

  • Can switching your website to HTTP/2 be a problem for google indexing?
  • Is HTTP/2 faster than HTTP 1.1? Experiment
  • How does a 301 redirect work?
Download our Broken link checker freeware here Buy a license key for the Sitecozy broken link checker

Customer Login

Lost password?

Categories

  • Webmaster advice
  • SEO advice
  • Web hosting
  • SiteCozy link checker KB
  • WordPress theme & plugin reviews
  • All articles
Disclosure: We are a professional review site that receives compensation from the companies whose products we review. We test each product thoroughly and give high marks to only the very best. We are independently owned and the opinions expressed here are our own.

Copyright Sitecozy 2018