Originally posted by sgboy2004:
mi wonder wat server logs can do??? Any server administrator here?
*wow...is this a threat again to someone??? mi better be careful else kenna lawyer letter sia *
When someone using web browser requests a page from a web site, the web server typically records information about the request. The resulting web server logs (which are accessible to the person running the site) are the basis for most web site statistics.
An example:
192.168.1.1 - - [24/Oct/2000:18:11:12 -0400] "GET /h/The_Great_Human_Diasporas.html HTTP/1.0"
200 5326 "http://www.google.com/search?q=cavalli-sforza&btnG=Google+Search" "Mozilla/4.5 [en] (WinNT; U)"
192.168.1.1
this is the
network address of the machine making the request
[24/Oct/2000:18:11:12 -0400]
the date and time of the request
"GET /h/The_Great_Human_Diasporas.html HTTP/1.0"
this is the request (which file was asked for). In this case it was for an html document (a page), for my review of The Great Human Diasporas.
200 5326
the success code and the number of bytes transferred
"http://www.google.com/search?q=cavalli-sforza&btnG=Google+Search"
the page from which a link was followed (the referer). This example is someone searching for "cavalli-sforza" using Google.
"Mozilla/4.5 [en] (WinNT; U)"
the user's operating system and web browser (the agent). In this case, it was Netscape running on Windows NT.
This is the basic information that is recorded (though browsers don't always provide the referer and agent information). Cookies may provide the server with information handed to the user/client on an earlier visit. And of course any additional information you provide in forms may be recorded.