Webalizer stats

mallaire

Verified User
Joined
Jul 5, 2003
Messages
28
Location
Montreal, Canada
Is it possible to have a mapping on our domains that will lead directly to the webalizer stats? These stats are located in the administrative section (control panel), but I would like to let my client see his stats (without having access to the control panel).

Thanks
 
All i can suggest is right click one of your webalizer graphs from within the control panel and check if the location can be accessed without being logged into DirectAdmin.

Chris
 
In the persons Httpd.conf Customization file you need to put something like:

Alias /stats /home/{username}/domains/{domain}/stats/
 
Last edited:
Actually,
Code:
Alias /stats /home/|USER|/domains/|DOMAIN|/stats/
works just great :)
 
l0rdphi1 said:
Actually,
Code:
Alias /stats /home/|USER|/domains/|DOMAIN|/stats/
works just great :)


In that case (aslong as you do not currently have any modified user configs) it would be *extremely* simple to have that chnage done for every website created with DirectAdmin :)

Chris
 
Yeah, this should do the trick:
Code:
perl -pi -e 's#DocumentRoot \|DOCROOT\|#DocumentRoot |DOCROOT|\n\tAlias /stats /home/|USER|/domains/|DOMAIN|/stats/#' /usr/local/directadmin/data/templates/custom/virtual_host.conf
 
Last edited:
What i had in mind was creating a fresh user config using the |tokens|, adding the liine to the end then doing a wildcard copy :)

Chris
 
Back
Top