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.

Analog.cfg Config Files?

Discussion in 'General Discussion' started by jca, Jun 6, 2004.

  1. jca

    jca Registered

    Joined:
    Jan 18, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Where does cPanel store/read config files for the different stats packages? Specifically, I need to modify Analog stats with an analog.cfg file. Where is this located and/or how would I do this?

    Appreciate any help/info.

    -jca
     
  2. jca

    jca Registered

    Joined:
    Jan 18, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Anyone?

    Bueller? ... Bueller? ...
     
  3. SupermanInNY

    SupermanInNY Well-Known Member

    Joined:
    Jul 19, 2003
    Messages:
    255
    Likes Received:
    0
    Trophy Points:
    16
    I second that request.
    From some reason I have a user whose account didn't have any of the stats enabled on creation.
     
  4. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    hey guys

    I know this is an old post.. but did you ever find out where they are located ??

    cheers
    andy
     
  5. nickb

    nickb Well-Known Member

    Joined:
    Feb 25, 2005
    Messages:
    347
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    If you are looking for awstats, webalizer, analog...stats file for a domain then look into the tmp folder under user's home.
     
  6. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Great stuff !!! :D

    thanks very much for the help :)
     
  7. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    hey guys

    Did you ever find out where they are located ??

    How can i use a custom analog.cfg for a domain ?
    any idea ?

    cheers
    andy
     
  8. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    *bump* :)
     
  9. jcn

    jcn Well-Known Member

    Joined:
    Sep 17, 2003
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    From looking through /usr/local/cpanel/cpanellogd, it does not look like you can use a custom analog.cfg file.

    Looks like awstats regenerates the ~user/tmp/awstats/awstats.domain.conf every time it's run, so you can't have a custom awstats configuration file.

    However, the webalizer function does an explicit check for ~user/tmp/webalizer/webalizer.conf (or ~user/tmp/webalizer/addondomain.com/webalizer.conf) so as long as you generate one of those, you can have a custom webalizer file.

    I actually create that file when a new account is created to include the following webalizer.conf file, since I hate that the domain itself is listed in the webalizer referrer stats (the domain itself is almost always going to be its own biggest referrer from people clicking around the site, but this isn't really interesting information):

    HideReferrer example.com
    HideReferrer www.example.com

    HideSite example.com
    HideSite www.example.com
     
  10. forlinuxsupport

    forlinuxsupport Well-Known Member
    PartnerNOC

    Joined:
    Dec 22, 2004
    Messages:
    386
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hi

    Thanks for the reply.

    I have just downloaded analog and installed its source, then I can use its config file and change it as I need. Not the ideal solution... but it works :)

    Its a pity cpanel doesnt allow you to use custom config files for analog and awstats.

    cheers
    Andy
     
Loading...

Share This Page