Re: [pear-webmaster] Static downloading
| From: | Martin Jansen | Date: | Thu, 28 Sep 2006 07:49:28 +0000 |
| Subject: | Re: [pear-webmaster] Static downloading | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-5255@lists.php.net to get a copy of this message | ||
On Tue Sep 12, 2006 at 03:5836PM +0200, Martin Jansen wrote:
> I suggest that we replace this mechanism with a dedicated virtual host
> downloads.pear.php.net, where all the .tgz files are directly
> accessible. Doing this is just a matter of setting up the host in the
> Apache configuration and changing the download URL in the REST files.
> It should be trivial then to parse Apache's access logfiles in order to
> collect the data necessary for the (currently defunct) package
> statistics.
I have started working on this last night. So far only the download
links on pearweb's HTML pages point to the new URLs. The REST files
still contain references to the old /get-URLs, because I would like to
monitor the behaviour of the new system before they are switched.
And I still need to write the script that parses the access logs and
updates the "downloads" SQL table accordingly.
Once this is done I'll look into resurrecting the package statistics.
(Of course I'll make sure that it doesn't eat the database again ...)
- Martin