Customising Webalizer Stats? --Perfect Setup Addon--

Discussion in 'Installation/Configuration' started by Code5, Jun 17, 2008.

  1. Code5

    Code5 New Member

    I don't know if i should ask this here but it was part of the "Perfect Setup".

    I've installed Webalizer statistics and i would like to customise the output by modifying the webalizer.conf file but i cant seem to find it.

    I suppose there is an individual .conf for each domain name?, so where do i find the .conf associated with each of the domains?

    What im aiming to do is just remove a few output tables so that some of the data is missing, as i would like my visitors to see the stats but not the logins and any other exploits it produces in the auto-generated .html file.

    Many thanks for any help.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    No, it is a central file for all domains in /root/ispconfig/scripts/shell/webalizer.conf
     
  3. Code5

    Code5 New Member

    Thanks for the help.

    One last question:

    Can you tell me how i can grab data and graphs of choice, from the generated "Webalizer" stats .html file and have it contained/called in a separate .htm or .php file, un-protected to the public, so that i can keep the main mydomain.com/stats under password protection?

    I guess with it done all locally on the server it wont require auth to grab the data.

    Many thanks.
     
    Last edited: Jun 18, 2008
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    All the data (html and image files) are in the stats folder of each website. They are just protected by a .htaccess file.
     
  5. Code5

    Code5 New Member

    I understand the stats are in mydomain/stats. This requires a username and password to access.

    What i would like, is to create a new .html file within the root of the domain i.e. mydomain/stats.html and have that .html file grab the data which is under password protection in "mydomain/stats" and be displayed on my stats.html in the root, without having to authorise the stats.html to grab the data, whilst keeping the mydomain/stats "folder" under protection.

    Can this be done? and how, without using un-professional outdated "Html Framing"

    Many thanks for your help.
     
  6. falko

    falko Super Moderator Howtoforge Staff

    You could write a PHP script that reads and parses the HTML files in the stats directory.
     
  7. Code5

    Code5 New Member

    Do you know of any, off hand?

    Thanks
     
  8. falko

    falko Super Moderator Howtoforge Staff

    No, you'd have to write it yourself.
     

Share This Page