Change webalizer url

Discussion in 'Installation/Configuration' started by ataru, Jul 10, 2012.

  1. ataru

    ataru Member

    Last edited: Jul 10, 2012
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The stats url can not be changed without changing the ispconfig sourcecode.
     
  3. ataru

    ataru Member

    and what if I change

    $statsdir = escapeshellcmd($rec['document_root'].'/web/stats');
    in
    $statsdir = escapeshellcmd($rec['document_root'].'/web/webalizer');

    in /usr/local/ispconfig/server/cron_daily.php?

    after renaming in \var\www\...\web\stats dir in \var\www\...\web\webalizer?

    could it work?

    i have a SMF forum on my website, and stats folder is reserved for forum stats, i'm still able to access webalizer putting the url /stats/index.html, but accessing the forum stats page (/stats/) it prompts me (and all users) to give webalizer username and password
     
    Last edited: Jul 10, 2012
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    Thats what I meant with changing the sourcecode.Please be aware that this will change the stats directory for all websites.
     
  5. ataru

    ataru Member

    I've got only one website, at the moment... and it's ok, for me to have webalizer folder for webalizer stats, and awstats folder for awstats in all websites.

    so, this way should work? all i need is to change paths in crontab?

    Thanks
     

Share This Page