Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Awstats and custom configs

Discussion in 'General Discussion' started by internetfab, Sep 30, 2008.

  1. internetfab

    internetfab Well-Known Member

    Feb 20, 2003
    Likes Received:
    Trophy Points:
    Gothenburg, Sweden
    cPanel Access Level:
    DataCenter Provider
    cPanel recreates the config file for each host awstats displays statistics for every night.
    A few customers are updating their sites quite frequently and want to be excluded from the statistics so we put in their IP in the skiphosts sections in awstats and then make the file immuteable.

    This has been working for quite a while but with the latest versions of cPanel it seems that if the config file is unwriteable - it doesn't even read it but skips ahead to the next host (from what I can tell in the stats_log file).

    Is there any way one can add custom configs to an awstats host conf without it being overwritten? Some kind of template file that cpanel uses when it recreates the conf file?
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice