Forum Moderators: coopster
here is an example
205.236.245.134 - - [05/Aug/2003:14:32:47 -0400] "GET /cgi-bin/envoyer2.cgi?profil=Alexina HTTP/1.1" 404 299 "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows 98)"
but i cant find anything with .php extension
if theres a file please tell me
an some example or idea of grabbing them would be appreciated! :)
thanks
i took a look in the httpd.conf file and i saw that log files are separated for each virtual host!
so here we go
216.132.86.107 - - [14/Jul/2003:22:18:14 -0400] "GET /abonnement.html HTTP/1.1" 200 30381 "-" "Mozilla/3.0 (compatible; Indy Library)"
does anyone knows what are those number? -->200 30381
200 is probably the code that the page returns like 404 etc...
an is this a god idea to analyse this file...cause i know there a lot of information maybe it will slow up the app!
i just need to get as much information as i can to build some stats
is there a better way?
ps. i already got colordepth,OS,browser type,screen resolution,ip etcbut i tough it will be a good idea to grab the last line for a specific IP to get the last page viewed! :)
so any idea is accepted :P
100 Continue
101 Switching Protocols
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content
300 Multiple Choices
301 Moved Permanently
302 Moved Temporarily
303 See Other
304 Not Modified
305 Use Proxy
400 Bad Request
401 Unauthorized Other Codes Continued:
402 Payment Required
403 Access Denied
404 Not found
405 Method Not Allowed
406 Not Acceptable
407 Proxy Authentication Required
408 Request Time-Out
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Request Entity Too Large
414 Request-URI Too Large
415 Unsupported Media Type
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Time-Out
505 HTTP Version Not Supported
and now there another good question :P
here we go again:
where i can grab user session and get the time spent
i dont wanna put a simple counter on each page...
-------------------------------------------------
OH!
my boss just told me it would act just like any counter
//i tough it was for us only...
u know where u put a logo on you page and it does all the job...
but there s no standart for log files , so the admin can put it anywhere on the server so i guess i couldnt count on apache logs :s
so what is the best thing we could think about now?
im very confused now :P
be warned, though, that this will negatively affect your "cacheability" factor because the cookie will be requested on every access... this means that AOL's proxys won't be able to cache your site for their aolers... there are also many providers that use squid and other caching proxies that won't be able to cache your pages... this is probably ok, though, as it'll ensure that you actually get the traffic to your site and not just to their caches...
i've implemented this in apache with the standard modules that come with it... how to do it on other servers, i have no idea...