View Full Version : Webalizer stats
mallaire
12-08-2003, 08:56 PM
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
ProWebUK
12-08-2003, 09:09 PM
I will confirm this for you in a few moments although with every other control panel i have used with webalizer the url is one of the following:
http://domain.com/webalizer
http://domain.com/webstat
http://domain.com/webstats
http://domain.com/wwwstats
Chris
mallaire
12-08-2003, 09:14 PM
None of these are working...
Try this domain:
www.solutionsweb.ca
ProWebUK
12-08-2003, 09:27 PM
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
mallaire
12-08-2003, 09:33 PM
I already tried, and I can't.
The location of this page is password-protected.
l0rdphi1
12-09-2003, 09:05 AM
In the persons Httpd.conf Customization file you need to put something like:
Alias /stats /home/{username}/domains/{domain}/stats/
l0rdphi1
12-09-2003, 09:07 AM
Actually, Alias /stats /home/|USER|/domains/|DOMAIN|/stats/ works just great :)
ProWebUK
12-09-2003, 09:10 AM
Originally posted by l0rdphi1
Actually, 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
l0rdphi1
12-09-2003, 09:16 AM
Yeah, this should do the trick: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
ProWebUK
12-09-2003, 09:18 AM
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
l0rdphi1
12-09-2003, 09:20 AM
Well I suppose that would work too :)
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.