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

File Type – exxcluding specific extensions

Reply to Post Add a New Topic
UserPost

5:29 pm
November 6, 2008


rich71121

New Member

posts 2

Can anyone tell me how to exclude specific file tupes from the "File Type" section of the AWStats report?

I've tried "NotPageList" but it had no effect on the report.

4:09 am
November 7, 2008


Jean-Luc

Admin

posts 1125

Hi,

You can exclude a file type from all reports with the SkipFiles directive. That's easy.

I do not know any conifguration option to exclude a specific file type only from the "File Type" section.

I believe that you can get what you want, if you are ready to slightly change the awstats.pl  script. Look immediately after 

  # Define page and extensionIt is line 6634 in my AWStats 6.9-beta. I would change the test in order to execute $extension='Unknown'; for all extensions I want to exclude.

11:38 am
November 7, 2008


rich71121

New Member

posts 2

Thanks for the reply.

I have the following SkipFiles statement in my config file.

SkipFiles="css js class gif jpg jpeg png bmp ico swf vbs inc htc xml mde bat lnk pl axd"

But they are still listed on the report.

If you have any other suggestions I would appreciate them.

Thanks.

5:57 pm
November 7, 2008


Jean-Luc

Admin

posts 1125

You need to use regular expressions in SkipFiles, like here :

SkipFiles=”REGEX[\\.(css|js|class|gif)$]“

Data which is already in AWStats database will not be modified. The new SkipFiles  will only apply to log file records that have not yet been read by AWStats.

Reply to Post

Reply to Topic:
File Type – exxcluding specific extensions

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


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: 638
Posts: 2709

Membership:

There are 257 Members
There have been 302 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)