PDA

View Full Version : Web Alias to AWStats



coppercup
08-03-2006, 11:13 AM
I would like to set up a simple web alias for many of my hosting clients, www.domain.com/webstats, that will take them directly to the AWStats login.

I have done this with /webmail to Uebimiau quite successfully for a while now, but I can't figure out how to do the same thing with AWStats.

I know I can go to the URL "www.domin.com/awstats/index.html" to get to the stats login, but "awstats" is not a real directory in the web directory so a server path of "/www/htdocs/awstats/index.html" does not work.

Any ideas?

blender
08-03-2006, 01:14 PM
yourdomain.com/awstats/ is already set up as an alias (a "ScriptAlias" to be precise). It is aliased to the following directory:

/usr/local/awstats/wwwroot/cgi-bin/

You can probably just use that path and it will work, or take a look in your httpd.conf file to see how WH is doing it and go from there.

hope that helps.