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

method POST

Reply to Post Add a New Topic
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 1125

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 1125

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 1125

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:
3 + 6
   


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

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