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.

Symbolic Links for Stats?

Discussion in 'General Discussion' started by mjm, Aug 5, 2003.

  1. mjm

    mjm BANNED

    Joined:
    Aug 1, 2003
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    I want my stats available at domain.com/stats so i set up a symoblic link as follows

    ln -s /home/user/tmp/webalizer stats

    when trying to pull up domain.com/stats i get a 403 error, but all permissions appear to be good. any idea on how to get this working?

    i have been messing with 'FollowSymLinks' under options but that does not appear to change anything....

    i am new to webserver administration
    :rolleyes:

    cPanel.net Support Ticket Number:
     
  2. NetX

    NetX Well-Known Member

    Joined:
    Jun 18, 2003
    Messages:
    177
    Likes Received:
    0
    Trophy Points:
    16
    Try this:

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


    Then, you can view webalizer stats:
    http://www.domain.com/stats/

    cPanel.net Support Ticket Number:
     
  3. Markwaugh

    Markwaugh Well-Known Member

    Joined:
    Aug 12, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sydney, Australia
    ok, now i have the symbolic link set http://domainame/stats.
    how do i remove the alias to the web stat now?

    any ideas ??

    cPanel.net Support Ticket Number:
     
  4. hormigo

    hormigo Well-Known Member

    Joined:
    Sep 9, 2002
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    cd /home/domain/www
    rm -f stats

    cPanel.net Support Ticket Number:
     
  5. Markwaugh

    Markwaugh Well-Known Member

    Joined:
    Aug 12, 2003
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sydney, Australia
    Thanx

    hormigo,

    Thank you very much. Have a nice week end !

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page