The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Awstats configuration

Discussion in 'General Discussion' started by Maxius, May 13, 2007.

  1. Maxius

    Maxius Registered

    Joined:
    Apr 30, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    In WHM, I have dnslookup = 1 set, but for this one single site I want it set to dnslookup = 0, otherwise it hammers my server for 8 hours trying to go through all the stupid logs.

    Problem is I keep changing it in the domain's .conf in its /home/user/tmp/awstats/ directory, but it keeps getting overwritten by something all the time.

    Is there some way I can accomplish this without turning off dnslookup globally?

    thanks
    Max
     
  2. Maxius

    Maxius Registered

    Joined:
    Apr 30, 2007
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    Anyone know anything??
     
  3. cpanelinfoseeker

    cpanelinfoseeker Well-Known Member

    Joined:
    Oct 25, 2002
    Messages:
    323
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    NE Illinois
    cPanel Access Level:
    Root Administrator
    Remove the write permission and it should maintain your settings.

    Ron
     
  4. WebScHoLaR

    WebScHoLaR Well-Known Member

    Joined:
    Dec 14, 2005
    Messages:
    511
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    Planet Earth
    The awstats config file in the user's account is overridden with the default when log processor processes log for that account. You can make changes to that account's config file and then chattr it. I am not sure that whether log processor will remove the chattr or not. This is what you have to look into.You can chattr a file as:

    chattr +i awstats.domain.conf

    If a file is chattered then it can't be modified/removed.
     
Loading...

Share This Page