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

Tracking visitors by HTTP Status code 403

Reply to Post Add a New Topic
UserPost

5:12 am
February 28, 2009


georgi58

florida

New Member

posts 2

Hi,

Is it possible to make a totally separate extra section just for visitors ending with code 403? I would like to keep track of the hosts they are coming from and the method they use to retrieve the web pages – GET, HEAD etc.

your help is greatly appreciated.

greetings,

georgi

4:31 pm
February 28, 2009


Jean-Luc

Admin

posts 1125

Hi,

Here is an example of an extra section that shows all URL's returning a 500 error code.

To see the referrers, use

ExtraSectionFirstColumnValues1="REFERER,
^(.*)$"
ExtraSectionFirstColumnFormat1="<A HREF=
'%s' TARGET='_blank'>%s</A>"

To see the methods is more complicated. You would need to use %extra1  for the method field and then:

ExtraSectionFirstColumnValues1="extra1,^
(.*)$"
ExtraSectionFirstColumnFormat1="%s"

8:12 am
March 1, 2009


georgi58

florida

New Member

posts 2

Hi Jean-Luc,

i have tried your suggestions, but still can not get the referrers in my results.

the bellow code is what i use for it

ExtraSectionName1="Forbidden (403)"
ExtraSectionCodeFilter1="403"
ExtraSectionCondition1="URL,^.*$"
ExtraSectionFirstColumnTitle1="URL"
ExtraSectionFirstColumnValues1="REFERER,^(.*)$"
ExtraSectionFirstColumnFormat1="<A HREF='%s' TARGET='_blank'>%s</A>"
ExtraSectionStatTypes1=HBL
ExtraSectionAddSumRow1=1
MaxNbOfExtra1=10
MinHitExtra1=1

is it the right one?

thanks again for your time

regards,

georgi

9:41 am
March 1, 2009


Jean-Luc

Admin

posts 1125

I don't see any error in your extra section. Do not forget that it will not change anything in the data already in the AWStats database. It will only apply to the new data when you perform the next update.

It is easier to test an extra section or any changes in AWStats configuration starting from an empty AWStats database, i.e. with no file in the AWStats data directory. My recommendation is that you create a special AWStats config file just for test purpose.

Reply to Post

Reply to Topic:
Tracking visitors by HTTP Status code 403

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


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
18 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)