| User | Post |
|
3:35 pm June 25, 2008
| Andrew
Guest
| | | |
|
| |
|
|
So I inherited a website that has awstats installed. Looking at the different statistics, I can see the list of hosts that access our page. At the same time, I can see which pages have been accessed how many times (via the nagivation option).
But I would like to know what host has looked at what page - or more specifically, I want to know which hosts look at one of my pages. Is such a thing possible with awstats/apache's log file?
Do I need to create a seperate config file just for that page within the entire site?
|
|
|
3:47 pm June 25, 2008
| Jean-Luc
Admin
| | | |
|
| posts 411 |
|
|
Hi,
A separate config file for just one page would be a complicated solution.
I answered almost the same question under How to know which IP visited given page.
|
|
|
4:08 pm June 25, 2008
| Andrew
Guest
| | | |
|
| |
|
|
Thanks for the suggestion!
You'll have to forgive my ignorance here, but with these two lines:
ExtraSectionCondition1=”URL,^\/mydir\/mypage$” ExtraSectionFirstColumnValues1=”HOST,^(.*)$”
I assume I have to change these accordingly… the syntax throws me off a bit. Could you give an example of what it looks like from: http://www.example.com/page
('page' being the page I want specific host stats)
|
|
|
4:23 pm June 25, 2008
| Jean-Luc
Admin
| | | |
|
| posts 411 |
|
|
For “page”, use:
ExtraSectionCondition1=”URL,^\/page$”
For “page.html”, use:
ExtraSectionCondition1=”URL,^\/page\.html$”
For “page.php” or “page.php?variable=anything”, use:
ExtraSectionCondition1=”URL,^\/page\.php”
These examples should cover the most common cases.
|
|
|
4:52 pm June 25, 2008
| Andrew
Guest
| | | |
|
| |
|
|
So I'm guessing http://www.example.com/directory/page.html
would look like this?:
ExtraSectionCondition1=”URL,^\/directory\/page\.html$”
|
|
|
12:38 am June 26, 2008
| Jean-Luc
Admin
| | | |
|
| posts 411 |
|
|
|
7:07 am June 26, 2008
| Andrew
Guest
| | | |
|
| |
|
|
Ok, great. Thanks for your help!
|
|