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.

How to make custom awstats.conf survive upcp?

Discussion in 'General Discussion' started by norelidd, May 6, 2007.

  1. norelidd

    norelidd Well-Known Member

    Joined:
    Jan 15, 2007
    Messages:
    173
    Likes Received:
    1
    Trophy Points:
    18
    I have a made a number of modifications to my server's awstats.conf file. But they are always overwritten by the upcp updates. How can I keep those updates from overwriting my custom awstats.conf?

    Additionally, how can I force a regeneration of the subdomain's awstats.conf files from my master awstats.conf?
     
  2. david510

    david510 Well-Known Member

    Joined:
    Aug 22, 2004
    Messages:
    473
    Likes Received:
    0
    Trophy Points:
    16
    You may set attribute bit to the awstats conf file for which you don't want cpanel to modify in future.

    chmod +a /path/to/the/awstats.conf

    When you want to edit the file, unset it using

    chmod -a /path/to/the/awstats.conf
     
Loading...

Share This Page