Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    2

    Default Awstat Cofi files

    Hi

    We have some cutom configuration in awstats conf file
    How ever cpanel overwrite this file when a update is run.

    Any suggestion as to how to retain cutom settings in awstat conf file.

    Thanks.

  2. #2
    Registered User
    Join Date
    Mar 2007
    Posts
    2

    Default Awstat Cofig files

    Hi

    We have some cutom configuration in awstats conf file
    How ever cpanel overwrite this file when a update is run.

    Any suggestion as to how to retain cutom settings in awstat conf file.

    Thanks.

  3. #3
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by suryakant View Post
    Hi

    We have some cutom configuration in awstats conf file
    How ever cpanel overwrite this file when a update is run.

    Any suggestion as to how to retain cutom settings in awstat conf file.

    Thanks.
    My recommendation involves the creation of 2 shell scripts:
    - /scripts/preupcp to backup your awstats conf file
    - /scripts/postupcp to restore your backed up awstats conf file

    This will allow you to edit your awstats conf file without worrying about a cPanel software update overwriting it.

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    ** Merged Duplicate Threads **

  5. #5
    Member
    Join Date
    Nov 2003
    Posts
    332

    Default

    Hi

    Interesting question

    The only solutions to preserve a custom modify to /home/blabla/tmp/awstast.blabla.com.conf is to create shell script to restore custom conf after upgrade (that overwrite it) ?

    Other solutions for single domain awstats customizzation on .conf ?

    For customizzation that must be applicated to all domain on server need only to modifiy /usr/local/cpanel/etc/awstats.conf , right ?

    thanks
    --

  6. #6
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    Yes, the server side configuration is: /usr/local/cpanel/etc/awstats.conf
    and in case you need to customize a clients awstats configuration, you can make the changes and set a attribute to it to make sure it isn't overwritten

    chattr +i /home/username/tmp/awstats/awstats.domainname.tld.conf

Similar Threads & Tags
Similar threads

  1. How to create awstat files for a user?
    By onkar in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-19-2008, 06:09 AM
  2. Awstat...
    By Ehsans in forum New User Questions
    Replies: 2
    Last Post: 08-23-2006, 10:09 AM
  3. AWSTAT Problem
    By kamranalilakhna in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-25-2005, 11:07 AM
  4. Awstat Stop
    By Serverplan in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 08-03-2003, 02:37 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube