PDA

View Full Version : Customising Webalizer Stats? --Perfect Setup Addon--


Code5
18th June 2008, 00:11
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.

till
18th June 2008, 00:41
I suppose there is an individual .conf for each domain name?, so where do i find the .conf associated with each of the domains?

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

Code5
18th June 2008, 02:20
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.

till
18th June 2008, 10:46
All the data (html and image files) are in the stats folder of each website. They are just protected by a .htaccess file.

Code5
18th June 2008, 20:58
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.

falko
19th June 2008, 17:44
You could write a PHP script that reads and parses the HTML files in the stats directory.

Code5
19th June 2008, 18:04
Do you know of any, off hand?

Thanks

falko
20th June 2008, 14:25
No, you'd have to write it yourself.