NameSilo

Awstats configuration

Spaceship Spaceship
Watch

yeppers

VIP Member
Impact
109
Hi all,

I'm trying to exclude files from awstats with the SkipFiles variable, however it's not working.

I've edited /tmp/awstats/awstats.conf and /tmp/awstats/awstats.conf.include, the include file is enabled in CPanel.

I have tried various different SkipFiles, as follows:
SkipFiles="robots.txt$ favicon.ico$ phparcade_news_check.php$ phparcade_update_check.php$"
SkipFiles="robots.txt$ favicon.ico$ phparcade_news_check.php phparcade_update_check.php"
SkipFiles="robots.txt$ favicon.ico$ /phparcade_news_check.php /phparcade_update_check.php"

If i'm right, i would have thought my first attempt was correct. Being that any URL ending in XXX$ will be ignored...

The files are in the public_html folder.

Any ideas?
Cheers,
Rhett.
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Try putting a / before the filenames. I have never used SkipFiles, but I looked it up in my host's knowledge base and the examples that are listed all have slashes. Don't know if it will help, but might be worth trying.


Frank
 
0
•••
Hi there,

I have actually tried that already, but maybe i'll try putting all my attempts in and see how that goes.
 
0
•••
Solved it.

For anyone who is wondering: CPanel resets the config file before starting stats processing. The .include config file did nothing, even when enabled in WHM.

So, the best way i've found is just to chmod tmp/awstats/awstats.conf to 444 (read only). Works without error.

-Rhett.
 
0
•••
Appraise.net

We're social

Unstoppable Domains
Domain Recover
DomainEasy — Zero Commission
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back