Ticket #99 (new enhancement)

Opened 11 years ago

Create download cgi that creates logs

Reported by: joshuadf Owned by: joshuadf
Priority: major Milestone:
Component: systems Version:
Keywords: Cc:

Description

Currently the only way to get the number of downloads for any of our projects is through processing the httpd logs. It would be better to have a CGI that asks people to register as we have for the FMA. Ideally we could do something more clever than this CGI I did for CELO (it creates a per-process dir and symlinks files there):

http://trac.biostr.washington.edu/trac/browser/celo/trunk/cgi/download.cgi

Unfortunately the HTTP spec doesn't provide very many options:

  • send the file directly to the browser (which makes the browser save the file with the name of the CGI)
  • temporary download locations (but it's hard to tell when they should expire)
  • redirect to the real download location (which an end-user may save, doing an end-run around our logging)
Note: See TracTickets for help on using tickets.