Current User: Guest Login
Please consider registering


Lost Your Password?

Search Forums:


 






Minimum search word length is 4 characters – Maximum search word length is 84 characters
Wildcard Usage:
*  matches any number of characters    %  matches exactly one character

Ignoring Case (upper and lowercase) in extra sections

Reply to Post Add a New Topic
UserPost

11:15 pm
May 18, 2010


cssfsu

Member

posts 55

I have an extra section to show usage by countries. Its been showing duplicate entries. For eg: Columbia and COLUMBIA were shown as different. Same with Australia. For United Kingdom, %20 and + in between the 2 words made awstats show it twice.

country=COLOMBIA

country=Colombia

country=Australia

country=AUSTRALIA

country=United%20Kingdom

country=United+Kingdom

The logs currently are getting the countries in the format above. Is it possible to somehow have Awstats ignore the case? Also any way to fix the encoding bit (%20 versus + )

ExtraSectionName4="Usage by Country"
ExtraSectionCodeFilter4="200 304"
ExtraSectionCondition4="URL,^.*$"
ExtraSectionFirstColumnTitle4="Countries"
ExtraSectionFirstColumnValues4="QUERY_STRING,country=([^&]+)"
ExtraSectionFirstColumnFormat4="%s"
ExtraSectionStatTypes4=PL
ExtraSectionAddSumRow4=1
MaxNbOfExtra4=10
MinHitExtra4=1
ExtraTrackedRowsLimit=12000

1:50 pm
May 19, 2010


Jean-Luc

Admin

posts 1125

There is no option in AWStats to modify the text output of an extra section. There is however a directive that makes the URL case insensitive:

URLNotCaseSensitive=1

If you use it, all URL's and queries will be converted to lower-case letters. To use this is not a good practice, if your server is case-sensitive.

I have no solution for %20 and the + sign.

Reply to Post

Reply to Topic:
Ignoring Case (upper and lowercase) in extra sections

Guest Name (Required):

Guest Email (Required):

NOTE: New Posts are subject to administrator approval before being displayed

Smileys
Confused Cool Cry Embarassed Frown Kiss Laugh Smile Surprised Wink Yell
Post New Reply

Guest URL (required)

Math Required!
What is the sum of:
12 + 7
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
8 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2712

Membership:

There are 257 Members
There have been 305 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 55
deepakgupta – 34
albert_newton – 30
cosminpana – 20
DTNMike – 19
ahtshun83 – 17

Recent New Members: raju, todd2taylor, sbdcunha, mansigill1987, ThomasDuh, ThomasKic

Administrators: Jean-Luc (1125 Posts)

Moderators: Jean-Luc (1125 Posts)