According to current Apache Distribution Policy (recent e-mail from Joshua) we really suck. This becomes a problem, since we're about to make a release. In order to get things sorted out I've prepared a hook into mirrors.cgi script. It is structured as follows:
1. download.cgi (usual wrapper around mirrors.cgi) and download.html (template) files for directory /www/httpd.apache.org/test/flood/. 2. a patch for mirrors.conf adding template location for test-flood-download.cgi. 3. a patch for HTML files (index, faq, building) using new download link. It would be great if somebody could doublechek this and eventually commit this into apropriate repository. This is much better than closer.cgi script we're using right now. regards, Jacek Prucia
#!/bin/sh # Wrapper script around mirrors.cgi script # (we must change to that directory in order for python to pick up the # python includes correctly) cd /www/www.apache.org/dyn/mirrors /www/www.apache.org/dyn/mirrors/mirrors.cgi $*
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> <meta name="author" content="Documentation Group" /><meta name="email" content="docs@httpd.apache.org" /> <title>Download - Flood</title> </head> <body bgcolor="#ffffff" text="#000000" link="#525D76"> <p><a href="/"><img src="./images/httpd_logo_wide.gif" alt="The Apache HTTP Server Project" border="0"/></a></p> <table border="0" width="100%" cellspacing="4"> <tr> <!-- LEFT SIDE NAVIGATION --> <td valign="top" nowrap="nowrap"> <p><b>Essentials</b></p> <menu compact="compact"> <li><a href="/test/flood/building.html">Building</a></li> <li><a href="/test/flood/faq.html">FAQ</a></li> </menu> <p><b>Download!</b></p> <menu compact="compact"> <li><a href="/test/flood/download.cgi">from a mirror</a></li> </menu> <p><b>Documentation</b></p> <menu compact="compact"> <li><a href="http://cvs.apache.org/viewcvs.cgi/~checkout~/httpd-test/flood/DESIGN?content-type=text/plain&only_with_tag=HEAD">Design</a></li> <li><a href="http://cvs.apache.org/viewcvs.cgi/~checkout~/httpd-test/flood/CONFIG?content-type=text/plain&only_with_tag=HEAD">Configuration</a></li> </menu> </td> <!-- RIGHT SIDE INFORMATION --> <td align="left" valign="top"> <table border="0" cellspacing="0" cellpadding="2" width="100%"> <tr><td bgcolor="#525D76"> <font color="#ffffff" face="arial,helvetica,sanserif"> <a name="Download"><strong>Downloading Flood</strong></a> </font> </td></tr> <tr><td> <blockquote> <p>Use the links below to download Flood from one of our mirrors. You <strong>must</strong> <a href="#verify">verify the integrity</a> of the downloaded files using signatures downloaded from our main distribution directory.</p> <p>Only current recommended releases are available on the main distribution site and its mirrors. Older releases are available from the <a href="http://archive.apache.org/dist/httpd/flood/">archive download site.</a></p> <table border="0" cellspacing="0" cellpadding="2" width="100%"> <tr><td bgcolor="#828DA6"> <font color="#ffffff" face="arial,helvetica,sanserif"> <a name="mirror"><strong>Mirror</strong></a> </font> </td></tr> <tr><td> <blockquote> <p>[if-any logo] <a href="[link]"><img align="right" src="[logo]" border="0" /></a>[end] The currently selected mirror is <b>[preferred]</b>. 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="[location]" method="get" id="SelectMirror"> Other mirrors: <select name="Preferred"> [if-any http] [for http]<option value="[http]">[http]</option>[end] [end] [if-any ftp] [for ftp]<option value="[ftp]">[ftp]</option>[end] [end] [if-any backup] [for backup]<option value="[backup]">[backup] (backup)</option>[end] [end] </select> <input type="submit" value="Change" /> </form> <p>You may also consult the <a href="http://www.apache.org/mirrors/">complete list of mirrors</a>.</p> </blockquote> </td></tr> </table> <table border="0" cellspacing="0" cellpadding="2" width="100%"> <tr><td bgcolor="#828DA6"> <font color="#ffffff" face="arial,helvetica,sanserif"> <a name="flood11"><strong>Flood 1.1 is the best available version</strong></a> </font> </td></tr> <tr><td> <blockquote> <p>This version of Flood comes with many new features and bug fixes. Most noticable addition is recently written user documentation.</p> <ul> <li>Unix Source: <a href="[preferred]/httpd/flood/flood-1.1..tar.gz">flood-1.1.tar.gz</a> [<a href="http://www.apache.org/dist/httpd/flood/flood-1.1.tar.gz.asc">PGP</a>] [<a href="http://www.apache.org/dist/httpd/flood/flood-1.1.tar.gz.md5">MD5</a>]</li> <li>Unix Source: <a href="[preferred]/httpd/flood/flood-1.1.tar.Z">flood-1.1.tar.Z</a> [<a href="http://www.apache.org/dist/httpd/flood/flood-1.1.tar.Z.asc">PGP</a>] [<a href="http://www.apache.org/dist/httpd/flood/flood-1.1.tar.Z.md5">MD5</a>]</li> <li><a href="[preferred]/httpd/flood/">Other files</a></li> </ul> </blockquote> </td></tr> </table> <table border="0" cellspacing="0" cellpadding="2" width="100%"> <tr><td bgcolor="#828DA6"> <font color="#ffffff" face="arial,helvetica,sanserif"> <a name="verify"><strong>Verify the integrity of the files</strong></a> </font> </td></tr> <tr><td> <blockquote> <p>It is essential that you verify the integrity of the downloaded files using the PGP or MD5 signatures. Please read <a href="/dev/verification.html">Verifying Apache HTTP Server Releases</a> for more information on why you should verify our releases. Even when this page refers to Apache HTTP Server, most of concepts still apply to Flood.</p> <p>The PGP signatures can be verified using PGP or GPG. First download the <a href="http://www.apache.org/dist/httpd/KEYS">KEYS</a> as well as the <code>asc</code> signature file for the particular distribution. Make sure you get these files from the <a href="http://www.apache.org/dist/httpd/flood/">main distribution directory</a>, rather than from a mirror. Then verify the signatures using</p> <p><code> % pgpk -a KEYS<br /> % pgpv flood-VERSION.tar.gz.asc<br /> </code> <em>or</em><br /> <code> % pgp -ka KEYS<br /> % pgp flood-VERSION.tar.gz.asc<br /> </code> <em>or</em><br /> <code> % gpg --import KEYS<br /> % gpg --verify flood-VERSION.tar.gz.asc </code></p> <ul> <li>httpd-2.0.47.tar.gz is signed by Jacek Prucia <code>7EFFAEB0</code></li> </ul> <p>Alternatively, you can verify the MD5 signature on the files. A unix program called <code>md5</code> or <code>md5sum</code> is included in many unix distributions. It is also available as part of <a href="http://www.gnu.org/software/textutils/textutils.html">GNU Textutils</a>. Windows users can get binary md5 programs from <a href="http://www.fourmilab.ch/md5/">here</a>, <a href="http://www.pc-tools.net/win32/freeware/console/">here</a>, or <a href="http://www.slavasoft.com/fsum/">here</a>.</p> </blockquote> </td></tr> </table> </blockquote> </td></tr> </table> </td> </tr> <!-- FOOTER --> <tr><td colspan="2"><hr noshade="noshade" size="1"/></td></tr> <tr><td colspan="2" align="center"> <font size="-1"> <em>Copyright © 1999-2002, The Apache Software Foundation</em> </font> </td> </tr> </table> </body> </html>
--- mirrors.conf.orig 2003-09-15 00:11:31.000000000 +0200 +++ mirrors.conf 2003-09-15 00:17:26.000000000 +0200 @@ -19,6 +19,7 @@ [httpd.apache.org] modules-python-download.cgi = /www/httpd.apache.org/modules/python-download.html +test-flood-download.cgi = /www/httpd.apache.org/test/flood/download.html download.cgi = /www/httpd.apache.org/download.html [jakarta.apache.org]
diff -urN flood.orig/building.html flood/building.html --- flood.orig/building.html 2003-09-15 00:39:28.000000000 +0200 +++ flood/building.html 2003-09-15 00:40:58.000000000 +0200 @@ -19,8 +19,7 @@ </menu> <p><b>Download!</b></p> <menu compact="compact"> - <li><a href="http://www.apache.org/dyn/closer.cgi">from a mirror</a></li> - <li><a href="http://www.apache.org/dist/httpd/">from here</a></li> + <li><a href="/test/flood/download.cgi">from a mirror</a></li> </menu> <p><b>Documentation</b></p> <menu compact="compact"> diff -urN flood.orig/faq.html flood/faq.html --- flood.orig/faq.html 2003-09-15 00:39:28.000000000 +0200 +++ flood/faq.html 2003-09-15 00:40:42.000000000 +0200 @@ -19,8 +19,7 @@ </menu> <p><b>Download!</b></p> <menu compact="compact"> - <li><a href="http://www.apache.org/dyn/closer.cgi">from a mirror</a></li> - <li><a href="http://www.apache.org/dist/httpd/">from here</a></li> + <li><a href="/test/flood/download.cgi">from a mirror</a></li> </menu> <p><b>Documentation</b></p> <menu compact="compact"> diff -urN flood.orig/index.html flood/index.html --- flood.orig/index.html 2003-09-15 00:39:28.000000000 +0200 +++ flood/index.html 2003-09-15 00:40:23.000000000 +0200 @@ -19,8 +19,7 @@ </menu> <p><b>Download!</b></p> <menu compact="compact"> - <li><a href="http://www.apache.org/dyn/closer.cgi">from a mirror</a></li> - <li><a href="http://www.apache.org/dist/httpd/">from here</a></li> + <li><a href="/test/flood/download.cgi">from a mirror</a></li> </menu> <p><b>Documentation</b></p> <menu compact="compact">