helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [2/2] git commit: use download.cgi to show mirrors
Date Tue, 29 Jan 2013 21:52:15 GMT
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 <olamy@apache.org>
Authored: Tue Jan 29 22:52:04 2013 +0100
Committer: olivier lamy <olamy@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


Mime
View raw message