Author: brane Date: Sat Jun 6 15:09:47 2026 New Revision: 1935070 Log: In ^/serf/site: Enable downloads from mirrors.
Modified: serf/site/publish/.htaccess (contents, props changed) serf/site/publish/download.html Modified: serf/site/publish/.htaccess ============================================================================== --- serf/site/publish/.htaccess Sat Jun 6 15:04:44 2026 (r1935069) +++ serf/site/publish/.htaccess Sat Jun 6 15:09:47 2026 (r1935070) @@ -1,9 +1,8 @@ -Options +Includes - -# For now redirect this location to the homepage -RedirectMatch ^/download(/)?$ /download.html - -# Simple issue redirector -RedirectMatch ^/issue[^A-Za-z0-9]?(\d+)$ https://issues.apache.org/jira/browse/SERF-$1 - -RedirectMatch ^/buildbot$ http://ci.apache.org/waterfall?category=serf-prod\&category=serf-compat\&show_events=true +Options +Includes +RewriteEngine On + +# Redirect to the downloads script +RewriteRule ^/?download(\.html)?/?$ /download.cgi [PT] + +# Simple issue redirector +RedirectMatch ^/issue[^A-Za-z0-9]?(\d+)$ https://issues.apache.org/jira/browse/SERF-$1 Modified: serf/site/publish/download.html ============================================================================== --- serf/site/publish/download.html Sat Jun 6 15:04:44 2026 (r1935069) +++ serf/site/publish/download.html Sat Jun 6 15:09:47 2026 (r1935070) @@ -63,6 +63,32 @@ <div class="col-lg-12"> <h2>Apache Serf Sources</h2> + <h3>Mirrors</h3> + + <p>The currently selected mirror is <a href="[preferred]serf/"><b>[preferred]</b></a>. + If you encounter a problem with this mirror, please select another mirror. + If all mirrors are failing, there are <i>backup</i> mirrors (at the end of + the mirrors list) that should be available.</p> + + <form action="/download.cgi" method="get" id="SelectMirror"> + <p>Other mirrors:</p> + <select name="Preferred" onchange="submit()"> + [if-any http] + [for http]<option value="[http]"[is http preferred] selected="selected"[end]>[http]</option>[end] + [end] + [if-any ftp] + [for ftp]<option value="[ftp]"[is ftp preferred] selected="selected"[end]>[ftp]</option>[end] + [end] + [if-any backup] + [for backup]<option value="[backup]"[is backup preferred] selected="selected"[end]>[backup] (backup)</option>[end] + [end] + </select> + <input type="submit" value="Change" /> + </form> + + <p>You may also consult the <a href="https://www.apache.org/mirrors/">complete + list of mirrors</a>.</p> + <h3>Source Tarballs</h3> <p>The latest stable release of Serf is <b>1.3.10</b>.</p> <table class="table table-striped"> @@ -75,12 +101,12 @@ </thead> <tbody> <tr> - <td><a href="https://www.apache.org/dist/serf/serf-1.3.10.tar.bz2">serf-1.3.10.tar.bz2</a></td> + <td><a href="[preferred]serf/serf-1.3.10.tar.bz2">serf-1.3.10.tar.bz2</a></td> <td><a href="https://www.apache.org/dist/serf/serf-1.3.10.tar.bz2.sha512">SHA-512</a></td> <td><a href="https://www.apache.org/dist/serf/serf-1.3.10.tar.bz2.asc">PGP</a></td> </tr> <tr> - <td><a href="https://www.apache.org/dist/serf/serf-1.3.10.zip">serf-1.3.10.zip</a></td> + <td><a href="[preferred]serf/serf-1.3.10.zip">serf-1.3.10.zip</a></td> <td><a href="https://www.apache.org/dist/serf/serf-1.3.10.zip.sha512">SHA-512</a></td> <td><a href="https://www.apache.org/dist/serf/serf-1.3.10.zip.asc">PGP</a></td> </tr>
