[SAC] Awstats of download.osgeo.org
Sandro Santilli
strk at keybit.net
Wed May 25 12:42:42 EDT 2011
On Wed, May 25, 2011 at 09:12:39AM -0700, Alex Mandel wrote:
> On 05/25/2011 06:27 AM, Sandro Santilli wrote:
> > This mail is ask who's in charge of the awstats config on
> > the download service and how those stats are meant to be
> > accessed / read.
...
> I went through recently and brought them up to date.
> See ticket http://trac.osgeo.org/osgeo/ticket/634 for more details.
>
> The files are indeed in /osgeo/download/logs but looks like you wouldn't
> see that without sudo usage for some reason. Ah and the files are txt,
> the perl script reads those to make the web pages on the fly ( I think).
>
> http://download.osgeo.org/cgi-bin/awstats.pl?config=www.download.osgeo.org
I think it would be nice to get that aliased as:
http://download.osgeo.org/stats
It should be possible by fixing the config file to match the hostname.
This already works if you map "www.download.osgeo.org" locally
(DNS doesn't resolve it).
I haven't found any reference to "www" in the configuration files found
under /etc/awstat but there is a -config=www.download.osgeo.org in the
cron job running every 4 hours, and it's possibly the configuration file
itself enforcing that name.
That said, it would be nice to get it to work w/out the need for explicily
setting a 'config' parameter in query string, so it'd be aliasable.
A possible way to get there could be:
(1) disable the cron job
(2) rename the configuration file to strip the 'www' part
(3) backup existing log dir
(4) rename all *www.download* logs to strip the 'www' part
(5) test http://download.osgeo.org/cgi-bin/awstats.pl
(6) if everything went fine (you can see all logs from 2007 to 2011)
then write a new cron job to use the new configuration
--strk;
() Free GIS & Flash consultant/developer
/\ http://strk.keybit.net/services.html
More information about the Sac
mailing list