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

How to know which IP visited given page?

Reply to Post Add a New Topic
UserPost

11:53 pm
September 10, 2007


John

Guest

Can I create an extra section to obtain specific IP information about a given page in given month?

 

Thanks

 

 

6:07 am
September 11, 2007


Jean-Luc

Admin

posts 1125

Absolutely! Use an extra section like this one:

ExtraSectionName1="Who Was There ?"
ExtraSectionCodeFilter1="200 304"
ExtraSectionCondition1="URL,^\/mydir\/mypage$"
ExtraSectionFirstColumnTitle1="Visitor"
ExtraSectionFirstColumnValues1="HOST,^(.*)$"
ExtraSectionFirstColumnFormat1="%s"
ExtraSectionStatTypes1=PHBL
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=10
MinHitExtra1=1

7:50 pm
September 11, 2007


John

Guest

Thank you so much! I will try it and then told you results.

John

5:19 am
October 17, 2011


H

Guest

I am trying to find out which ip address (visitor) visited which page(s) and I tried using the extraSection defined on this page. After rebuilding, the main report shows data in this section as all zeroes.

 

Who Was There ?  
Visitor  –   Full list Pages Hits Bandwidth Last visit
Total 0 0 0  

Clicking on the "Full List" link on the main report page shows a Page Not Found error as it can't find the file at file awstats.mydomain.com.allextra1.html

Could you please help me understand what mistake I might have made? I started by editing the conf file and adding the extra section defined above. I then reran all reports. Please note that I didn't update the statistics again.

Thanks for all the help.

10:28 pm
October 20, 2011


Jean-Luc

Admin

posts 1125

Replace \\/ by \/ in ExtraSectionCondition1

ExtraSectionCondition1="URL,^\/mydir\/mypage$"

5:32 am
October 22, 2011


H

Guest

Thank you. That now helps populate the Extra Section in the Main Report.

However, Clicking on the "Full List" link on the main report page still shows a Page Not Found error as it can't find the file at file awstats.mydomain.com.allextra1.html. How do I create this file?

6:54 am
October 22, 2011


Jean-Luc

Admin

posts 1125

This is another issue, most probably related to a bug that was introduced in release 7.0. It has been discussed under Missing link prefix in AWStats HTML files.

3:24 pm
October 23, 2011


Brian

Guest

What I have done is to paste the code above, unchanged, into my config file.

The result is that I get a new "Who was there" section at the bottom of my stats page but all of the values are zero.

I have restarted the Apache service. Do I need to do anything else?

 

Two questions…

1. Do I need to change ExtraSectionCondition1="URL,^\/mydir\/mypage$"?

If so, where do I point this to?

 

2. Is there a way to get the new section to appear in the menu on the left?

3:26 pm
October 23, 2011


Brian

Guest

Sorry, should have mentioned that I am using a self hosted WordPress site, if that affects the answer to question 1.

3:45 pm
October 23, 2011


Jean-Luc

Admin

posts 1125

Hi Brian,

Say you want to get the list of IP addresses who visited http://www.your_site.com/category/abc. You have to use:

ExtraSectionCondition1="URL,^\/category\/abc$"
Reply to Post

Reply to Topic:
How to know which IP visited given page?

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:
6 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)