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 IP-Adresses

Reply to Post Add a New Topic
UserPost

7:04 am
June 3, 2009


meisteraykut

Guest

Hey guys, 
 
I like to ignore IP-Adresses in the statistics. How can I setup webalizer to do this? 
 
for example: I like them to ignore all IPs beginning with 77.130. 
 
Someone an idea? 
 
 
Best Thanks 
 
Sebastian

7:13 am
June 3, 2009


Jean-Luc

Admin

posts 1125

Hi, 
 

SkipHosts="REGEX[^77\\.130\\.]" 

 
will do what you ask in AWStats. This is documented in the awstats.model.conf  file included in the standard AWStats package. 

3:44 pm
December 6, 2009


camminc

Member

posts 4

This is confusing also. In the config file it has instructions on how to exclude an IP address in the Skiphost section and it explains to simply put the IP address inside quotes and if more than one IP address is needed to be excluded then just seperate the IP addresses with a space. example" "122.58.130.224 94.102.51.22"

Here is what is say in the awstats config file:

# Do not include access from clients that match following criteria.
# If your log file contains IP adresses in host field, you must put here
# matching IP adresses criteria.
# If DNS lookup is already done in your log file, you must put here hostname
# criteria.
# Note: Use space between each value.
# Example: "127.0.0.1 163.84. 201.101.51.1"
# Example: "localhost abcxyz"
# Default: ""
#
SkipHosts="70.184.17.18 70.164.228.208" (I added these IP's and it works for now)

I am not sure what the "REGEX[^77\\.130\\.]" is all about? Can you tell me what the difference may be, the instructions in the file don't say anything about the phrase you have used.

Of course as with most things I do, it only works for a while, then for some unknown reason when I check the file again later the IP addresses I put in disappears. I haven't had a chance to trace down the problem yet but I guess the system overwrites the file daily or something so it only works for a day, then back to square one. I tried to set the persmissions to the config file to read only and see what happens. I am not sure if this happens on every web site but it happens on mine. cammincCry

4:17 pm
December 6, 2009


Jean-Luc

Admin

posts 1125

You wrote :

Of course as with most things I do, it only works for a while, then for some unknown reason when I check the file again later the IP addresses I put in disappears.

This is a known problem with systems using cPanel. You find some details in our article Changing AWStats Config File in cPanel.

2:50 am
December 12, 2009


camminc

Member

posts 4

It ended up working only after I set the config file to read only. Thanks for your help. Camminc

Reply to Post

Reply to Topic:
Ignoring IP-Adresses

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:
11 + 1
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
10 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 639
Posts: 2710

Membership:

There are 257 Members
There have been 304 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)