View Full Version : Dynamics sites in webalizer

12th December 2005, 19:09

I'm processing the log file of a dynamic web site developed in php. The site is in two languages, so to have a look to the site in english you can go to www.mysite.com/index.php&lang=1, and to see it in, lets say spanish, you can go to www.mysite.com/index.php&lang=2.
The problem is that the webalizer generated results skips the parameter "lang", and just gives me the total hits of www.mysite.com/index.php, without taking in account that this is just a "template" that shows two different pages.
Does anybody knows how to solve this problem? I've read the README file of Webalizer and it doesn't say anything about that.

Thank you!!

12th December 2005, 23:06
I don't think that you can do something like that with webalizer... :(

13th December 2005, 10:57
Does anybody knows if there is any software that allow me to do that??

Thank you again!

13th December 2005, 13:48
Maybe you can "abuse" phpAdsNew for something like that. You'd have to place a transparent 1x1 pixel graphics (.gif) on every page and then let phpAdsNew do the statistics...

13th December 2005, 14:15
Thanks again for your reply falko. I've solved my problem using "Analog". It takes in account the parameters when doing the statistics and it also generates plain text tabulated files:

eqs %bytes last time file
32674 12.38% 1/Aug/05 04:15 /printMag.php
1655 1.19% 1/Aug/05 03:55 /printMag.php?num=137&lang=1
1563 0.46% 1/Aug/05 03:18 /printMag.php?num=141&lang=1
1456 0.53% 1/Aug/05 03:14 /printMag.php?num=145&lang=1

Hope this helps to anybody who has the same problem.