2.063 release

Nick Sabalausky SeeWebsiteToContactMe at semitwist.com
Thu May 30 13:31:32 PDT 2013


On Thu, 30 May 2013 16:13:13 -0400
Andrei Alexandrescu <SeeWebsiteForEmail at erdani.org> wrote:
> 
> I am the one who switched to download over HTTP. The reason is that I 
> hadn't anticipated the enormous demand following the announcement,
> and we really need to collect download statistics, which are already
> built in dlang.org. You mentioned those can be gotten from S3, so I'm
> counting on that.
> 

I don't know what sort of software is running dlang.org, but it should
be easy to toss together a trivial
"http://dlang.org/trackLink/targetURL" url. If you're using a
log-analyzing stat package like webalyzer, then all you should need to
do is make "http://dlang.org/trackLink/targetURL" redirect to
"targetURL" and do literally nothing else.

You may not even need a script at all for that. As long as the
pre-redirect URL gets logged (I don't recall if they usually are or
not - but I *think* so), then all you'd have to do is toss a trivial
rewrite rule into Apache's/Nginx's/whatever's config file.



More information about the Digitalmars-d mailing list