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

1 domain -> 2 awstats

Reply to Post Add a New Topic
UserPost

8:58 pm
May 14, 2007


claudio

Guest

Can I install 2 awstats in the same domain…
I already have awstats for www.my_domain.com
I want the other one only for my_domain.com/directory/
I need separate stats for all hits on /directory/something…
Is it possible?

10:31 pm
May 14, 2007


Jean-Luc

Admin

posts 1125

Sure, you can!

You have to create a second AWStats config file. In this new config file, use :
OnlyFiles="REGEX[^\\/directory\\/]" 

With this configuration file, AWStats will disregard what is not in the specified directory.


When running AWStats, you will have to specify the config file you want to work with.

Jean-Luc

9:08 am
May 15, 2007


claudio

Guest

Many thanks!

5:16 pm
August 12, 2009


mezcalhead

New Member

posts 2

nevermind, i've resolved it.  there is a default, empty OnlyFiles setting further down the conf file.

—–

I'm trying to do the same thing but it isn't working as I would expect.

I had configured awstats a while ago to work originally for the entire domain and that is working.  I then duplicated the conf file, renamed it, and just added the line:

OnlyFiles=”REGEX[^\\/two]“

running awstats.pl for both conf files produces a virtually identical report.

the full report shows hits for:

sub.example.com/one

sub.example.com/two

sub.example.com/three

i'd expect the newly created one (intending to only include the “two” directory) to not show 'one' and 'three' but it does.

both conf files include:

SiteDomain=”sub.example.com”

what might i be doing wrong or misunderstanding?

thanks!

—-
nevermind, i've resolved it.  there is a default, empty OnlyFiles setting further down the conf file.

Reply to Post

Reply to Topic:
1 domain -> 2 awstats

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


About the InternetOfficer.com Forum

Forum Timezone: UTC 1

Most Users Ever Online: 302

Currently Online:
14 Guests

Currently Browsing this Topic:
1 Guest

Forum Stats:

Groups: 2
Forums: 9
Topics: 638
Posts: 2712

Membership:

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