diff --git a/.htaccess b/.htaccess index 13e081a8d4..c40979866f 100644 --- a/.htaccess +++ b/.htaccess @@ -35,9 +35,9 @@ Deny from 180.211.180.14 # With build artifacts in S3, latest_snapshot.txt is a # PHP script that generates the right answer, so turn # on PHP processing for those files. - + AddHandler application/x-httpd-php .txt - + ## Comment these rules in if you want to have nice URLs using ## $conf['rewrite'] = 1 - not needed for rewrite mode 2 @@ -81,12 +81,14 @@ RewriteRule nightly/(.*)/(latest_snapshot\.txt|.*\.tar\.gz|.*\.tar\.bz2) https:/ # Redirect requests for release artifacts to download.open-mpi.org RewriteCond %{REQUEST_URI} !latest_snapshot.txt$ [NC] +RewriteCond %{REQUEST_URI} !latest_release.txt$ [NC] RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$ RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule software/ompi/(.*)/downloads/(.*) https://download.open-mpi.org/release/open-mpi/$1/$2 [L,R=301] RewriteCond %{REQUEST_URI} !latest_snapshot.txt$ [NC] +RewriteCond %{REQUEST_URI} !latest_release.txt$ [NC] RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge/[0-9a-zA-Z_-]+$ RewriteCond %{REQUEST_URI} !^/\.well-known/cpanel-dcv/[0-9a-zA-Z_-]+$ RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ diff --git a/software/hwloc/current/downloads/latest_release.txt b/software/hwloc/current/downloads/latest_release.txt new file mode 100644 index 0000000000..bad6735e8b --- /dev/null +++ b/software/hwloc/current/downloads/latest_release.txt @@ -0,0 +1,8 @@ + diff --git a/software/hwloc/v2.9/downloads/latest_release.txt b/software/hwloc/v2.9/downloads/latest_release.txt new file mode 100644 index 0000000000..bad6735e8b --- /dev/null +++ b/software/hwloc/v2.9/downloads/latest_release.txt @@ -0,0 +1,8 @@ +