Opened 13 years ago

Closed 13 years ago

#727 closed task (fixed)

make awstats page available at the /stats/ alias

Reported by: strk Owned by: sac@…
Priority: normal Milestone:
Component: SysAdmin Keywords:
Cc:

Description

Change History (4)

comment:1 by tmitchell, 13 years ago

This would be a welcome improvement on osgeo1/www.osgeo.org too :)

comment:2 by wildintellect, 13 years ago

We got so far as to get it to be /stats/ All it takes is the awstats config has to be named for the domain and one apache line. so awstats.www.osgeo.org.conf and

ScriptAlias /stats /usr/lib/cgi-bin/awstats.pl

See GRASS on projects vm for a working example.

comment:3 by strk, 13 years ago

I'd think that's good enough for the time being. Can always be improved in a second step by redirecting /stats to /stats/

Note, the wiki should also be updated about stats: http://wiki.osgeo.org/wiki/Download_Server#Access_Log_Viewer_.28awstats.29

comment:4 by wildintellect, 13 years ago

Resolution: fixed
Status: newclosed
  1. Alias Added, use http://download.osgeo.org/stats/
  2. Removed www from config name
  3. Modified cron to hit the right config
  4. Renamed all the awstats history files to remove www
    for i in *www.download*; do mv "$i" "${i/\.www/}"; done
    

Old URL won't work anymore it's now http://download.osgeo.org/cgi-bin/awstats.pl?config=download.osgeo.org if you want to use the full one (in case you want to pull up another servers stats)

Wiki has been updated.

Note: See TracTickets for help on using tickets.