[TYPO3-english] ics_awstats not logging properly

Scotty C superscotty19 at yahoo.com
Wed Feb 6 22:59:08 CET 2013


Hi again,

Update: My web host sent me the raw server logs. In them, it clearly shows the page but it's prepended with a bunch of typo3temp stuff:

[05/Feb/2013:22:20:42 -0800] "GET /typo3temp/compressor/codemirror-a25cb0b7420655e2f18343b7e9f8e952.js.gzip?1335587033 HTTP/1.1" 200 6510 "http://thesite.ca/typo3/sysext/tstemplate/ts/index.php?id=217&" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17"


Back to the ics_awstats logs, there is nothing that corresponds to this date/time/visit/URL.

On another installation of TYPO3 on a different server, it's working perfectly - snippet of ics_awstats log:

[06/Feb/2013:15:21:22 +0000] "GET /2207.html HTTP/1.1" 200 23474 "http://anothersite.ca/" "Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.17 (KHTML, like Gecko) Chrome/24.0.1312.57 Safari/537.17"


The only difference between the 2 installations is the inclusion of the following in the TS template:

simulateStaticDocuments = 0
 baseURL = http://www.homelawyer.ca/
 tx_realurl_enable = 1

So, if got this far and you're still reading this, congratulations ( :-P ) but the solution is, RealURL by Dmitry. That guy's awesome. I installed it and it chopped all the junk off. Now, logs are being populated correctly and everything works!

Thanks for the sounding board, everyone!
-Scott.



________________________________
 From: Scotty C <superscotty19 at yahoo.com>
To: TYPO3 English <typo3-english at lists.typo3.org> 
Sent: Wednesday, February 6, 2013 2:35:12 PM
Subject: Re: [TYPO3-english] ics_awstats not logging properly
 
Hi Gert,

Thanks for the fast reply. Sorry for the incompleteness. As requested:

TYPO3 4.5.15
ics_awstats 0.5.3
ics_web_awstats 0.4.0

OS: CentOS with Apache and cPanel

There is a server log created by apache and saved to the default location (/var/log I believe ... can't be sure because I'm on a shared server, but I don't use it anyway). There is also a log created by ics_awstats and saved to /public_html/typo/log. The former is working fine but the latter is the one that gets used by my client inside TYPO3 and is causing the issue.

HTH,
-S.





________________________________
From: RDE - Gert Redlich <gr2 at ipw.net>
To: Scotty C <superscotty19 at yahoo.com>; TYPO3 English <typo3-english at lists.typo3.org> 
Sent: Wednesday, February 6, 2013 1:56:25 PM
Subject: Re: [TYPO3-english] ics_awstats not logging properly

Scotty C schrieb:
> Hi everyone,
> 
> I have been running ics_awstats and ics_web_awstats for many years on many TYPO3 installs,

without issue ... or so I thought! A few days ago, a client tells me they wanted to see

traffic to a specific page but when they went to the "Pages-URL" section of AWStats,

there was nothing there. My kneejerk reaction was, "there's nothing there because

nobody has visited", however when I look at raw server logs (separate from the

log file created by ics_awstats) and go to the page with my IP, I can clearly

see there is traffic to the page. Moreover, when I look at the log file created

by ics_awstats, my IP will sometimes show up and sometimes not. For example,

I just went to the site and clicked on 3 links ... but looking at the ics_awstats

log there's nothing there.
> 
> I apologize if my explanation is confusing, but that's exactly how I feel 

with a system that should just "work"!
> 
> Any advice you have is greatly appreciated,
> -Scott.

Hi Scott, there is too little information about your server.

I am using opensuse with apache2 and there is a totally (typo3-)independant
logfile - created from apache in /var/log/apache

This file is never lieing, it has nothing to do with TYPO3.
So what are yo doing on what platform with what server ??

-- 
best regards
Gert Redlich

_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english
_______________________________________________
TYPO3-english mailing list
TYPO3-english at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english


More information about the TYPO3-english mailing list