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.

Webalizer shown to Public

Discussion in 'General Discussion' started by khoonchee, Dec 3, 2002.

  1. khoonchee

    khoonchee Well-Known Member
    PartnerNOC

    Joined:
    Oct 2, 2002
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    Is there a way to show the webalizer stats in Cpanel to the public without any login .




    Andy
     
  2. khoonchee

    khoonchee Well-Known Member
    PartnerNOC

    Joined:
    Oct 2, 2002
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for the reply.

    But all I want is the webalizer stats and not the bandwidth usage.



    Andy
     
  3. dgbaker

    dgbaker Well-Known Member
    PartnerNOC

    Joined:
    Sep 20, 2002
    Messages:
    2,578
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    Toronto, Ontario Canada
    Here's how to do it

    cd /home/domain/www
    ln -s ../tmp/webalizer stats
    cd ..
    chmod 755 tmp
    cd temp
    chmod 755 webalizer

    Done!

    http://www.domain.com/stats/ shows webalizer stats.
     
  4. gotaweb

    gotaweb Member

    Joined:
    Dec 3, 2002
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    I do it by using a cronjob to copy the webalizer directory to a folder in public_html, and then another cronjob to CHMOD the directory so others can view it. Works good, you can dump them wherever you want them to be
     
  5. khoonchee

    khoonchee Well-Known Member
    PartnerNOC

    Joined:
    Oct 2, 2002
    Messages:
    134
    Likes Received:
    0
    Trophy Points:
    16
    Hello dgbaker,

    It works!!!

    Thanks...



    Andy
     
  6. HostIt

    HostIt Well-Known Member

    Joined:
    Feb 22, 2003
    Messages:
    151
    Likes Received:
    1
    Trophy Points:
    18
    Hey dgbaker, know of a similar solution for Analog or AWStats? :)

    cPanel.net Support Ticket Number:
     
  7. jmartin417

    jmartin417 Registered

    Joined:
    Aug 27, 2003
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    gotaweb could you further explain that cron job method

    Thanks

    cPanel.net Support Ticket Number:
     
  8. Globodata

    Globodata Registered

    Joined:
    Aug 24, 2003
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    Hello,

    If someone could help... here what I´ve done at SSH, following the instructions you´ve posted.. but it doesn´t work... would you help me to find what I´ve done wrong ??

    I´d also like to know how could I see stats without log in , but for all accounts.. I mean, is there a method to do it for all accounts at once ?

    Thanks, Dawersonn


    root@linux1 [~]# cd /home/executivoclub.com.br/www
    -bash: cd: /home/executivoclub.com.br/www: No such file or directory
    root@linux1 [~]# cd /home/executivoclub/www
    -bash: cd: /home/executivoclub/www: No such file or directory
    root@linux1 [~]# cd /home/executivoclub.com.br/www
    -bash: cd: /home/executivoclub.com.br/www: No such file or directory
    root@linux1 [~]# cd /home/exec1245/www
    root@linux1 [/home/exec1245/www]# ln -s ../tmp/webalizer stats
    ln: `stats/webalizer': File exists
    root@linux1 [/home/exec1245/www]# cd ..
    root@linux1 [/home/exec1245]# chmod 755 tmp
    root@linux1 [/home/exec1245]# cd temp
    -bash: cd: temp: No such file or directory
    root@linux1 [/home/exec1245]# cd tmp
    root@linux1 [/home/exec1245/tmp]# chmod 755 webalizer
    root@linux1 [/home/exec1245/tmp]#
     
  9. DDT

    DDT Active Member

    Joined:
    Dec 10, 2003
    Messages:
    42
    Likes Received:
    0
    Trophy Points:
    6
    Maybe a stupid question but couldn't you just do the same thing in file manager by setting the Webalizer stats file's permissions to 755?
     
Loading...

Share This Page