[openssl-commits] [web] master update
Richard Levitte
levitte at openssl.org
Fri Mar 25 18:36:01 UTC 2016
The branch master has been updated
via 44d0a4ddea2188656c4dc4dc993b9bd5a916b223 (commit)
via f3914ba0fca5008f1f386a3f79f25640b27d8980 (commit)
from 240c9c3de98e99e7c568acdddbb284dea93b1a1f (commit)
- Log -----------------------------------------------------------------
commit 44d0a4ddea2188656c4dc4dc993b9bd5a916b223
Author: Richard Levitte <levitte at openssl.org>
Date: Fri Mar 25 19:35:54 2016 +0100
Correct path for 1.0.2 shortcuts
commit f3914ba0fca5008f1f386a3f79f25640b27d8980
Author: Richard Levitte <levitte at openssl.org>
Date: Fri Mar 25 19:35:00 2016 +0100
Make source/.htaccess versioned
-----------------------------------------------------------------------
Summary of changes:
.gitignore | 1 -
source/.htaccess | 28 ++++++++++++++++++++++++++++
2 files changed, 28 insertions(+), 1 deletion(-)
create mode 100644 source/.htaccess
diff --git a/.gitignore b/.gitignore
index e37e39d..e0040fe 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,7 +20,6 @@ news/openssl-*-notes.inc
newsflash.inc
source/*.gz*
source/*.patch
-source/.htaccess
source/index.inc
source/license.txt
source/old/*/*.patch
diff --git a/source/.htaccess b/source/.htaccess
new file mode 100644
index 0000000..46193d1
--- /dev/null
+++ b/source/.htaccess
@@ -0,0 +1,28 @@
+RewriteEngine on
+RewriteBase /source
+# First, rewrite all the 'latest' URLs
+RewriteRule ^latest.tar.gz$ openssl-1.0.2g.tar.gz [L,R=302,NC]
+RewriteRule ^openssl-1.0.1-latest.tar.gz$ openssl-1.0.1s.tar.gz [L,R=302,NC]
+RewriteRule ^openssl-1.0.2-latest.tar.gz$ openssl-1.0.2g.tar.gz [L,R=302,NC]
+
+# Old distro's are in subdirs.
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteRule ^(openssl-0\.9\.8.*) old/0.9.x/$1 [L]
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteRule ^openssl-(1\.0\.0.*) old/1.0.0/openssl-$1 [L]
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteRule ^openssl-(1\.0\.1.*) old/1.0.1/openssl-$1 [L]
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteRule ^openssl-(1\.0\.2.*) old/1.0.2/openssl-$1 [L]
+RewriteCond %{REQUEST_FILENAME} !-f
+RewriteRule ^openssl-(fips.*) old/fips/openssl-$1 [L]
+
+<Files *.gz.asc>
+ RemoveEncoding .gz
+</Files>
+<Files *.gz.md5>
+ RemoveEncoding .gz
+</Files>
+<Files *.gz.sha1>
+ RemoveEncoding .gz
+</Files>
More information about the openssl-commits
mailing list