You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2014/06/20 22:31:47 UTC

svn commit: r1604271 - in /accumulo/site/trunk/content/downloads: index.mdtext mirrorlist.cgi

Author: ctubbsii
Date: Fri Jun 20 20:31:47 2014
New Revision: 1604271

URL: http://svn.apache.org/r1604271
Log:
ACCUMULO-1377 Add mirrorlist cgi script

Added:
    accumulo/site/trunk/content/downloads/mirrorlist.cgi   (with props)
Modified:
    accumulo/site/trunk/content/downloads/index.mdtext

Modified: accumulo/site/trunk/content/downloads/index.mdtext
URL: http://svn.apache.org/viewvc/accumulo/site/trunk/content/downloads/index.mdtext?rev=1604271&r1=1604270&r2=1604271&view=diff
==============================================================================
--- accumulo/site/trunk/content/downloads/index.mdtext (original)
+++ accumulo/site/trunk/content/downloads/index.mdtext Fri Jun 20 20:31:47 2014
@@ -84,7 +84,8 @@ var mirrorsCallback = function(json) {
 };
 
 // get mirrors when page is ready
-var mirrorURL = "http://www.apache.org/dyn/closer.cgi";
+// var mirrorURL = "http://www.apache.org/dyn/closer.cgi";
+var mirrorURL = "mirrorlist.cgi";
 $(function() { $.getJSON(mirrorURL + "?asjson=1", mirrorsCallback); }); 
 
 </script>

Added: accumulo/site/trunk/content/downloads/mirrorlist.cgi
URL: http://svn.apache.org/viewvc/accumulo/site/trunk/content/downloads/mirrorlist.cgi?rev=1604271&view=auto
==============================================================================
--- accumulo/site/trunk/content/downloads/mirrorlist.cgi (added)
+++ accumulo/site/trunk/content/downloads/mirrorlist.cgi Fri Jun 20 20:31:47 2014
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Just call the standard mirrors.cgi script to
+# support getting a list of mirrors with AJAX
+exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*

Propchange: accumulo/site/trunk/content/downloads/mirrorlist.cgi
------------------------------------------------------------------------------
    svn:executable = *