You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by ol...@apache.org on 2013/01/29 22:52:15 UTC

[2/2] git commit: use download.cgi to show mirrors

Updated Branches:
  refs/heads/master 55da17786 -> 375506469


use download.cgi to show mirrors


Project: http://git-wip-us.apache.org/repos/asf/incubator-helix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-helix/commit/37550646
Tree: http://git-wip-us.apache.org/repos/asf/incubator-helix/tree/37550646
Diff: http://git-wip-us.apache.org/repos/asf/incubator-helix/diff/37550646

Branch: refs/heads/master
Commit: 37550646924a594d4431c71fee024c9147283427
Parents: 1418fc6
Author: olivier lamy <ol...@apache.org>
Authored: Tue Jan 29 22:52:04 2013 +0100
Committer: olivier lamy <ol...@apache.org>
Committed: Tue Jan 29 22:52:04 2013 +0100

----------------------------------------------------------------------
 src/site/resources/.htaccess    |    1 +
 src/site/resources/download.cgi |    4 ++++
 2 files changed, 5 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/37550646/src/site/resources/.htaccess
----------------------------------------------------------------------
diff --git a/src/site/resources/.htaccess b/src/site/resources/.htaccess
new file mode 100644
index 0000000..5e9f255
--- /dev/null
+++ b/src/site/resources/.htaccess
@@ -0,0 +1 @@
+Redirect /download.html /download.cgi
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/37550646/src/site/resources/download.cgi
----------------------------------------------------------------------
diff --git a/src/site/resources/download.cgi b/src/site/resources/download.cgi
new file mode 100644
index 0000000..495cde1
--- /dev/null
+++ b/src/site/resources/download.cgi
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Just call the standard mirrors.cgi script. It will use download.html
+# as the input template.
+exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
\ No newline at end of file