| User | Post |
|
12:47 pm October 25, 2010
| Rohan
| | |
| Guest
| | |
|
|
Hi,
Is there a way to modify the way in which the AWstats history file gets created. For example, I need some section like 'BEGIN_SIDER' above the section 'BEGIN_SIDER_404'
Also, the history files is getting created differently on different environments. On Test environment, the section 'BEGIN_SIDER_404' comes after 'BEGIN_SIDER' whereas on Production its the opposite.
Any ideas??
Â
Thanks,
Rohan
|
|
|
1:24 pm October 25, 2010
| Jean-Luc
| | |
| Admin
| posts 1063 | |
|
|
Hi,
I do not know of any way to change the order of the sections. Not sure why you want to do that though. Note that the MAP section in the beginning of the data files contains the positions of each section within the file. This can help reach the data more quickly.
|
|
|
1:38 pm October 25, 2010
| rohan
| | |
| New Member | posts 1 | |
|
|
Hi,
If I am right the MAP section at the beginning of the file controls the positions of those tags in the file. But in my case, the particular order is not maintained. I get 'BEGIN_SIDER' at the end of the file, whereas 'BEGIN_SIDER_404' before that.
I have an utility which parses the history file to get the hitcounts directly. The parsing doesnt function as expected due to the random nature of history file creation.
|
|
|
5:07 pm October 25, 2010
| Jean-Luc
| | |
| Admin
| posts 1063 | |
|
|
I am afraid the problem is with your utility. It should either look at the MAP section to locate the BEGIN_SIDER section or it should check the exact section name and not just that the section name starts with SIDER.
|
|