Disable /stats

Discussion in 'General' started by sojic, Jan 24, 2009.

  1. sojic

    sojic New Member

    How can I disable /stats, or move it to another subdomain.

    For example I do not want domain.com/stats but admin.domain.com/stats
     
  2. edge

    edge Active Member Moderator

    A way of doing it is by creating an A record named admin.domain.com, and point it (with a .htaccess) to domain.com/stats
     
  3. till

    till Super Moderator Staff Member ISPConfig Developer

    To disable stats remove the webalizer.php cronjob in the root crontab.
     
  4. sojic

    sojic New Member

    But ISP Config will create domain.com/stats and .htpasswd.

    I do not want to exists domain.com/stats
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Do what I suggested above and ISPConfig will not generate stats.
     
  6. sojic

    sojic New Member

    Where can I find webalizer.php cronjob in the root crontab?
     
  7. till

    till Super Moderator Staff Member ISPConfig Developer

    Login as user root and execute:

    crontab -e
     

Share This Page