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

Reply to Post Add a New Topic
No Tags
UserPost

4:38 pm
March 19, 2011


Colin

Guest

Perhaps wiser eyes than my n00bie goggles can clarify this for me.

I'm trying to make logfile reading just a bit easier, so in reading I found the plugin urlalias. My goal was to make (as an example) IP 123.123.123.123 read (in the logs and/or in AWStats): "John's office" or somesuch.

Am I understanding the functionality of this plugin to be more-or-less as decribed above?

Also, apart from uncommenting the LoadPlugin directive I have to create a file in DirData directory which contains the IP a tab, then the desired text. Must the text be escaped? in quotes? Is there any reasonable limit as to how many entries there can be in this file? (we think maybe 150 hosts, unlikely to be more)

Thank you most kindly for any suggestions and guidance you have time to provide.

 

Warm regards to all,

-Colin

5:03 pm
March 19, 2011


Jean-Luc

Admin

posts 1125

Hello Colin,

There is a misunderstanding. urlalias is for URL's (i.e. pages of your web site), not for IP addresses of visitors.
 

To achieve what you want, use

DNSLookup=2
DNSStaticCacheFile="/path/to/dnscache.txt"

in your AWStats config file and create the file /path/to/dnscache.txt. This file must contain one address per row in this format (example) :

123.123.123.123 John
12.34.56.78 Rachida

Not sure that you can have spaces and special characters within the person's name, but you can try it.

No Tags
Reply to Post

Reply to Topic:
URL Alias

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 + 10
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
5 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

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

Membership:

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