Author: cmpilato
Date: Tue May 10 16:12:42 2011
New Revision: 1101525
URL: http://svn.apache.org/viewvc?rev=1101525&view=rev
Log:
Yet Another Try at getting the download page to work. This probably
won't work, because I'm betting that mirrors.cgi dumps HTTP headers
into the stream.
* site/publish/header.html,
* site/publish/footer.html
Move these ...
* site/publish/getit
...out of here, and then delete this now-unused directory.
* site/publish/download.cgi
Use wget to dump the header and footer around the mirrors.cgi invocation.
* site/publish/download.html
Drop the header and footer.
Added:
subversion/site/publish/footer.html
- copied unchanged from r1101523,
subversion/site/publish/getit/footer.html
subversion/site/publish/header.html
- copied unchanged from r1101523,
subversion/site/publish/getit/header.html
Removed:
subversion/site/publish/getit/
Modified:
subversion/site/publish/download.cgi
subversion/site/publish/download.html
Modified: subversion/site/publish/download.cgi
URL:
http://svn.apache.org/viewvc/subversion/site/publish/download.cgi?rev=1101525&r1=1101524&r2=1101525&view=diff
==============================================================================
--- subversion/site/publish/download.cgi (original)
+++ subversion/site/publish/download.cgi Tue May 10 16:12:42 2011
@@ -2,4 +2,8 @@
# 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 $*) | ./do_ssi.py
+echo "Content-type: text/html"
+echo ""
+wget -q -O - http://subversion.apache.org/header.html
+(cd /www/www.apache.org/dyn/mirrors &&
/www/www.apache.org/dyn/mirrors/mirrors.cgi $*)
+wget -q -O - http://subversion.apache.org/footer.html
Modified: subversion/site/publish/download.html
URL:
http://svn.apache.org/viewvc/subversion/site/publish/download.html?rev=1101525&r1=1101524&r2=1101525&view=diff
==============================================================================
--- subversion/site/publish/download.html (original)
+++ subversion/site/publish/download.html Tue May 10 16:12:42 2011
@@ -1,20 +1,3 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<title>Download Apache Subversion Sources</title>
-<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
-<style type="text/css">
- @import url("/style/site.css");
-</style>
-</head>
-
-<body>
-<!--#include virtual="/site-banner.html" -->
-<!--#include virtual="/site-nav.html" -->
-<div id="site-content">
-<!--#include virtual="/site-notice.html" -->
-
<div class="notice">
<p><strong>Note:</strong> Subversion 1.7 is <em>not released yet</em>, and
this page is still under construction. Please see the
@@ -257,6 +240,3 @@ test cutting-edge new features. <em>The
</div> <!-- #web-access -->
-</div> <!-- #site-content -->
-</body>
-</html>