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!

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:
    168
    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:
    166
    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
     
    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