views:

66

answers:

0

I'm using AWStats and I want to ignore everything in a subdirectory except for a particular directory, here is the directory layout:

Webroot
 -dir_1
 -dir_2
 --subdir_a
 --subdir_b
 --subdir_c
 ...

I want to run statistics for everything in the web root excluding dir2 and all its subdirectories but including subdir b. I've tried using the SkipFiles directive with :

SkipFiles="REGEX[^\/dir_2(!\/subdir_b)]"

But that is including everything under dir_2.