This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch use-archive
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 2aaec8b476a341a7f9e9d1b97e1332897fa2578a
Author: Lukasz Lenart <lukaszlen...@apache.org>
AuthorDate: Tue Sep 17 08:16:25 2019 +0200

    Points to the Archive for older dists
---
 source/download.html | 66 ++++++++++++++++++++++++++--------------------------
 source/releases.html |  2 +-
 2 files changed, 34 insertions(+), 34 deletions(-)

diff --git a/source/download.html b/source/download.html
index 15e3ee0..2af19e2 100644
--- a/source/download.html
+++ b/source/download.html
@@ -151,9 +151,9 @@ title: Download a Release
   <li>Full Distribution:
     <ul>
       <li>
-        <a href="[preferred]struts/{{ site.prev_version }}/struts-{{ 
site.prev_version }}-all.zip">struts-{{ site.prev_version }}-all.zip</a> (65MB)
-        [<a href="https://www.apache.org/dist/struts/{{ site.prev_version 
}}/struts-{{ site.prev_version }}-all.zip.asc">PGP</a>]
-        [<a href="https://www.apache.org/dist/struts/{{ site.prev_version 
}}/struts-{{ site.prev_version }}-all.zip.sha256">SHA256</a>]
+        <a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-all.zip">struts-{{ site.prev_version }}-all.zip</a> (65MB)
+        [<a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-all.zip.asc">PGP</a>]
+        [<a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-all.zip.sha256">SHA256</a>]
       </li>
     </ul>
   </li>
@@ -161,9 +161,9 @@ title: Download a Release
   <li>Example Applications:
     <ul>
       <li>
-        <a href="[preferred]struts/{{ site.prev_version }}/struts-{{ 
site.prev_version }}-apps.zip">struts-{{ site.prev_version }}-apps.zip</a> 
(35MB)
-        [<a href="https://www.apache.org/dist/struts/{{ site.prev_version 
}}/struts-{{ site.prev_version }}-apps.zip.asc">PGP</a>]
-        [<a href="https://www.apache.org/dist/struts/{{ site.prev_version 
}}/struts-{{ site.prev_version }}-apps.zip.sha256">SHA256</a>]
+        <a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-apps.zip">struts-{{ site.prev_version }}-apps.zip</a> 
(35MB)
+        [<a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-apps.zip.asc">PGP</a>]
+        [<a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-apps.zip.sha256">SHA256</a>]
       </li>
     </ul>
   </li>
@@ -171,9 +171,9 @@ title: Download a Release
   <li>Essential Dependencies Only:
     <ul>
       <li>
-        <a href="[preferred]struts/{{ site.prev_version }}/struts-{{ 
site.prev_version }}-min-lib.zip">struts-{{ site.prev_version 
}}-min-lib.zip</a> (4MB)
-        [<a href="https://www.apache.org/dist/struts/{{ site.prev_version 
}}/struts-{{ site.prev_version }}-min-lib.zip.asc">PGP</a>]
-        [<a href="https://www.apache.org/dist/struts/{{ site.prev_version 
}}/struts-{{ site.prev_version }}-min-lib.zip.sha256">SHA256</a>]
+        <a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-min-lib.zip">struts-{{ site.prev_version 
}}-min-lib.zip</a> (4MB)
+        [<a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-min-lib.zip.asc">PGP</a>]
+        [<a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-min-lib.zip.sha256">SHA256</a>]
       </li>
     </ul>
   </li>
@@ -181,9 +181,9 @@ title: Download a Release
   <li>All Dependencies:
     <ul>
       <li>
-        <a href="[preferred]struts/{{ site.prev_version }}/struts-{{ 
site.prev_version }}-lib.zip">struts-{{ site.prev_version }}-lib.zip</a> (19MB)
-        [<a href="https://www.apache.org/dist/struts/{{ site.prev_version 
}}/struts-{{ site.prev_version }}-lib.zip.asc">PGP</a>]
-        [<a href="https://www.apache.org/dist/struts/{{ site.prev_version 
}}/struts-{{ site.prev_version }}-lib.zip.sha256">SHA256</a>]
+        <a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-lib.zip">struts-{{ site.prev_version }}-lib.zip</a> (19MB)
+        [<a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-lib.zip.asc">PGP</a>]
+        [<a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-lib.zip.sha256">SHA256</a>]
       </li>
     </ul>
   </li>
@@ -191,9 +191,9 @@ title: Download a Release
   <li>Documentation:
     <ul>
       <li>
-        <a href="[preferred]struts/{{ site.prev_version }}/struts-{{ 
site.prev_version }}-docs.zip">struts-{{ site.prev_version }}-docs.zip</a> 
(13MB)
-        [<a href="https://www.apache.org/dist/struts/{{ site.prev_version 
}}/struts-{{ site.prev_version }}-docs.zip.asc">PGP</a>]
-        [<a href="https://www.apache.org/dist/struts/{{ site.prev_version 
}}/struts-{{ site.prev_version }}-docs.zip.sha256">SHA256</a>]
+        <a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-docs.zip">struts-{{ site.prev_version }}-docs.zip</a> 
(13MB)
+        [<a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-docs.zip.asc">PGP</a>]
+        [<a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-docs.zip.sha256">SHA256</a>]
       </li>
     </ul>
   </li>
@@ -201,9 +201,9 @@ title: Download a Release
   <li>Source:
     <ul>
       <li>
-        <a href="[preferred]struts/{{ site.prev_version }}/struts-{{ 
site.prev_version }}-src.zip">struts-{{ site.prev_version }}-src.zip</a> (7MB)
-        [<a href="https://www.apache.org/dist/struts/{{ site.prev_version 
}}/struts-{{ site.prev_version }}-src.zip.asc">PGP</a>]
-        [<a href="https://www.apache.org/dist/struts/{{ site.prev_version 
}}/struts-{{ site.prev_version }}-src.zip.sha256">SHA256</a>]
+        <a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-src.zip">struts-{{ site.prev_version }}-src.zip</a> (7MB)
+        [<a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-src.zip.asc">PGP</a>]
+        [<a href="{{ archive_url }}{{ site.prev_version }}/struts-{{ 
site.prev_version }}-src.zip.sha256">SHA256</a>]
       </li>
     </ul>
   </li>
@@ -294,9 +294,9 @@ title: Download a Release
   <li>Full Distribution:
     <ul>
       <li>
-        <a 
href="[preferred]struts/1.3.10/struts-1.3.10-all.zip">struts-1.3.10-all.zip</a>
-        [<a 
href="https://www.apache.org/dist/struts/1.3.10/struts-1.3.10-all.zip.asc";>PGP</a>]
-        [<a 
href="https://www.apache.org/dist/struts/1.3.10/struts-1.3.10-all.zip.md5";>MD5</a>]
+        <a href="{{ archive_url 
}}1.3.10/struts-1.3.10-all.zip">struts-1.3.10-all.zip</a>
+        [<a href="{{ archive_url }}1.3.10/struts-1.3.10-all.zip.asc">PGP</a>]
+        [<a href="{{ archive_url }}1.3.10/struts-1.3.10-all.zip.md5">MD5</a>]
       </li>
     </ul>
   </li>
@@ -304,9 +304,9 @@ title: Download a Release
   <li>Library:
     <ul>
       <li>
-        <a 
href="[preferred]struts/1.3.10/struts-1.3.10-lib.zip">struts-1.3.10-lib.zip</a>
-        [<a 
href="https://www.apache.org/dist/struts/1.3.10/struts-1.3.10-lib.zip.asc";>PGP</a>]
-        [<a 
href="https://www.apache.org/dist/struts/1.3.10/struts-1.3.10-lib.zip.md5";>MD5</a>]
+        <a href="{{ archive_url 
}}1.3.10/struts-1.3.10-lib.zip">struts-1.3.10-lib.zip</a>
+        [<a href="{{ archive_url }}1.3.10/struts-1.3.10-lib.zip.asc">PGP</a>]
+        [<a href="{{ archive_url }}1.3.10/struts-1.3.10-lib.zip.md5">MD5</a>]
       </li>
     </ul>
   </li>
@@ -314,9 +314,9 @@ title: Download a Release
   <li>Source:
     <ul>
       <li>
-        <a 
href="[preferred]struts/1.3.10/struts-1.3.10-src.zip">struts-1.3.10-src.zip</a>
-        [<a 
href="https://www.apache.org/dist/struts/1.3.10/struts-1.3.10-src.zip.asc";>PGP</a>]
-        [<a 
href="https://www.apache.org/dist/struts/1.3.10/struts-1.3.10-src.zip.md5";>MD5</a>]
+        <a href="{{ archive_url 
}}1.3.10/struts-1.3.10-src.zip">struts-1.3.10-src.zip</a>
+        [<a href="{{ archive_url }}1.3.10/struts-1.3.10-src.zip.asc">PGP</a>]
+        [<a href="{{ archive_url }}1.3.10/struts-1.3.10-src.zip.md5">MD5</a>]
       </li>
     </ul>
   </li>
@@ -324,9 +324,9 @@ title: Download a Release
   <li>Examples:
     <ul>
       <li>
-        <a 
href="[preferred]struts/1.3.10/struts-1.3.10-apps.zip">struts-1.3.10-apps.zip</a>
-        [<a 
href="https://www.apache.org/dist/struts/1.3.10/struts-1.3.10-apps.zip.asc";>PGP</a>]
-        [<a 
href="https://www.apache.org/dist/struts/1.3.10/struts-1.3.10-apps.zip.md5";>MD5</a>]
+        <a href="{{ archive_url 
}}1.3.10/struts-1.3.10-apps.zip">struts-1.3.10-apps.zip</a>
+        [<a href="{{ archive_url }}1.3.10/struts-1.3.10-apps.zip.asc">PGP</a>]
+        [<a href="{{ archive_url }}1.3.10/struts-1.3.10-apps.zip.md5">MD5</a>]
       </li>
     </ul>
   </li>
@@ -334,9 +334,9 @@ title: Download a Release
   <li>Documentation:
     <ul>
       <li>
-        <a 
href="[preferred]struts/1.3.10/struts-1.3.10-docs.zip">struts-1.3.10-docs.zip</a>
-        [<a 
href="https://www.apache.org/dist/struts/1.3.10/struts-1.3.10-docs.zip.asc";>PGP</a>]
-        [<a 
href="https://www.apache.org/dist/struts/1.3.10/struts-1.3.10-docs.zip.md5";>MD5</a>]
+        <a href="{{ archive_url 
}}1.3.10/struts-1.3.10-docs.zip">struts-1.3.10-docs.zip</a>
+        [<a href="{{ archive_url }}1.3.10/struts-1.3.10-docs.zip.asc">PGP</a>]
+        [<a href="{{ archive_url }}1.3.10/struts-1.3.10-docs.zip.md5">MD5</a>]
       </li>
     </ul>
   </li>
diff --git a/source/releases.html b/source/releases.html
index 7ed9ef9..b43327e 100644
--- a/source/releases.html
+++ b/source/releases.html
@@ -63,7 +63,7 @@ title: Releases
         </a> (latest Struts 1 release before <a 
href="struts1eol-announcement.html">EOL</a>)
       </li>
       <li>
-        <a href="http://archive.apache.org/dist/struts/";>
+        <a href="https://archive.apache.org/dist/struts/";>
           Archive Site
         </a>
       </li>

Reply via email to