Content
The content of the update center (nbm files, etc.) is distributed through the https://www.apache.org/dyn/closer.cgi
These nbm files (NetBeans modules) are currently changed on each major Apache NetBeans release (or release candidate, etc.)
Analytics
The Apache NetBeans (incubating) project is interested in keeping track of how many modules are downloaded, so we can minimize the bandwidth consumed on each release, and understand which modules are most downloaded.
Since it's not currently possible to look at the log files of the mirror system we've devised the following mechanism to keep track of this information:
- The Apache NetBeans IDE downloads the update center contents from https://netbeans.apache.org/nb/updates/9.0/
- This .htaccess file then redirects this request to the Apache NetBeans VM Box.
- The requested file is logged into the Apache NetBeans VM Box web server log.
- A second redirection (using the file at
/var/www/html/uc/9.0/.htaccess
in netbeans-vm.apache.org) sends the request to a closest Apache Mirror, building an url that uses the closer.lua mirror redirection script