Current User: Guest Login Register
Please consider registering


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

method POST

Add a New Topic Reply to Post
UserPost

9:21 am
February 3, 2009


Heikog

Member

posts 4

Hi there,

I have installed the awstats in combination with Tomcat Jakarta. The .logfiles are even simple. I found that the http request method POST isn't considered by the awstats.

here is a sample of the .log

217.7.195.186 – - [03/Feb/2009:10:37:41 +0100] "POST /adobe/Download HTTP/1.1" 200 4 "null" "Java/1.6.0_10"

To get a statistic result I first renamed inside the tomcat log all of the POST into GET and get a proper result of the traffic and statistics.

Then I changed inside the awstats.pl this here: print "<form name=\\"FormDateFilter\\" method=\\"post\\" action=\\""
     . XMLEncode("$AWScript?${NewLinkParams}")

My question is how can i get the complete statistic for both http requests POST and GET?

Thanks in advance and regards,

Heiko

10:05 am
February 3, 2009


Jean-Luc

Admin

posts 817

Hi,

In your example, the problem is not coming from the POST method, but from the "Java" user agent that AWStats considers as being a robot (counted as "not viewed traffic").

4:00 am
February 4, 2009


Heikog

Member

posts 4

Hi,

many thanks for the indication.

But how can I configure the awstats considering the "not viewed traffic"?

Best Regards,

Heiko

7:24 am
February 4, 2009


Jean-Luc

Admin

posts 817

Do you mean that you want that hits from the "Java" user agent are counted as hits from a regular user agent ?

8:41 am
February 4, 2009


Heikog

Member

posts 4

Yes,

exactly, that's what I meant.

Tx

Heiko

8:52 am
February 4, 2009


Jean-Luc

Admin

posts 817

You have to edit the robots.pm  file.

In version 6.9:

  • remove line 960 (last line of the definition of @RobotsSearchIDOrder_list2 )
  • remove line 1599 (a few lines before the end of %RobotsHashIDLib )

9:41 am
February 4, 2009


Heikog

Member

posts 4

Yeah!

Thats it.

Many thanks for sharing your know how.

Best Regards,

Heiko

Reply to Post

Reply to Topic:
method POST

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:
9 + 4
   


About the InternetOfficer.com Forum

Most Users Ever Online: 65

Currently Online: Jean-Luc
8 Guests

Forum Stats:

Groups: 2
Forums: 8
Topics: 376
Posts: 1853

Membership:

There are 194 Members
There have been 197 Guests

There is 1 Admin
There is 1 Moderator

Top Posters:

cssfsu – 48
albert_newton – 30
cosminpana – 20
DTNMike – 16
x-plicit2009 – 14
deepakgupta – 14

Recent New Members: jefft, stewiedv, kre8web, xlancealotx, Robert25

Administrators: Jean-Luc (817 Posts)

Moderators: Jean-Luc (817 Posts)