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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Jun 2 22:24:36 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
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:                     new
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:              
====================================================================== 
Date Submitted:             06-02-2008 18:31 CDT
Last Modified:              06-02-2008 22:24 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.

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

---------------------------------------------------------------------- 
 pabelanger - 06-02-08 22:24  
---------------------------------------------------------------------- 
+1 for me. Love to see this fixed. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-02-08 22:24  pabelanger     Note Added: 0087691                          
======================================================================




More information about the asterisk-bugs mailing list