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!

disabling awstats for 1 account only

Discussion in 'General Discussion' started by bou3lam, Feb 18, 2010.

  1. bou3lam

    bou3lam Active Member

    Joined:
    Sep 29, 2009
    Messages:
    36
    Likes Received:
    1
    Trophy Points:
    58
    one of my sites is generating too much and im getting alert emails Excessive resource usage, i would like to stop awstats logs for it , is this possible please and how ?
    many thanks
     
  2. sven4o

    sven4o Member

    Joined:
    May 21, 2007
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    151
    As a solution you can include the following line in the /var/cpanel/users/YOUR_CPANEL_USER file:

    FEATURE-AWSTATS=0

    Then you should run the /scripts/updateuserdomains script.

    If you do not have a root access to your server, please ask your hosting provider for assistance.

    Also, you can change the following line in the /home/YOUR_CPANEL_USER/tmp/awstats/awstats.yourdomainname.com.conf file:

    LogFile="/usr/local/apache/domlogs/yourdomainname.com"

    Set a different path. For example you can use a static file under your account and new statistics will not be generated.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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