[asterisk-bugs] [Asterisk 0012776]: Improve download links on Asterisk.org to allow wget/non-javascript browsers

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jul 29 16:09:53 CDT 2008


The following issue has been CLOSED 
====================================================================== 
http://bugs.digium.com/view.php?id=12776 
====================================================================== 
Reported By:                ecaron
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   12776
Category:                   General
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-06-02 18:31 CDT
Last Modified:              2008-07-29 16:09 CDT
====================================================================== 
Summary:                    Improve download links on Asterisk.org to allow
wget/non-javascript browsers
Description: 
I understand that the Asterisk.org website wants to track downloads, but
could the tracking method be implemented in such a way that it is
transparent to the user?

Regardless of the site's language (PHP, Perl, Ruby), there are dozens of
ways this could be done. For example, the URL could be handled using a
mod_rewrite in Apache and cleaning the path from
http://www.digium.com/elqNow/elqRedir.htm?ref=http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.20.1.tar.gz
to
http://www.digium.com/downloads/asterisk/releases/asterisk-1.4.20.1.tar.gz.
The handler could then record the download via whatever mechanism you want,
and then seamlessly read in/out the file (like w/ PHP's readfile), or even
through a 302-redirect to the full path.

I'd love to not mess up your statistics, because I understand how valuable
they are, but I download all your builds straight to my headless box, and
use wget/lynx/etc to grab the file. To give you the data I'd have to use
Firefox, then SCP the build to the server - and my 1 download isn't worth
enough to you to warrant that waste in my time, so I just grab the latter
part of your URL and get the file that way - leaving me with a feeling of
guilt about circumventing your desired method.

I'll gladly provide whatever code would be useful to you to help
incorporate this method - just name the language you want.

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-07-29 16:09 Corydon76      Status                   new => closed       
2008-07-29 16:09 Corydon76      Resolution               reopened => no change
required
======================================================================




More information about the asterisk-bugs mailing list