[SAC] [OSGeo] #727: make awstats page available at the /stats/ alias

#727: make awstats page available at the /stats/ alias
---------------------------+------------------------------------------------
Reporter: strk | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords:
---------------------------+------------------------------------------------
See http://lists.osgeo.org/pipermail/sac/2011-May/003125.html

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/727&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#727: make awstats page available at the /stats/ alias
---------------------------+------------------------------------------------
Reporter: strk | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords:
---------------------------+------------------------------------------------

Comment(by tmitchell):

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

--
Ticket URL: <http://trac.osgeo.org/osgeo/ticket/727#comment:1&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#727: make awstats page available at the /stats/ alias
---------------------------+------------------------------------------------
Reporter: strk | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords:
---------------------------+------------------------------------------------

Comment(by wildintellect):

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.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/727#comment:2&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#727: make awstats page available at the /stats/ alias
---------------------------+------------------------------------------------
Reporter: strk | Owner: sac@…
     Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords:
---------------------------+------------------------------------------------

Comment(by strk):

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

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/727#comment:3&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#727: make awstats page available at the /stats/ alias
---------------------------+------------------------------------------------
Reporter: strk | Owner: sac@…
     Type: task | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+------------------------------------------------
Changes (by wildintellect):

  * status: new => closed
  * resolution: => fixed

Comment:

1. Alias Added, use http://download.osgeo.org/stats/
  1. Removed www from config name
  1. Modified cron to hit the right config
  1. 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.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/727#comment:4&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.