fix cross http/https. Remove cgi script and modernize download page.
diff --git a/content/downloads.cgi b/content/downloads.cgi
deleted file mode 100755
index aed104f..0000000
--- a/content/downloads.cgi
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/sh
-
-# Licensed to the Apache Software Foundation (ASF) under one or more
-# contributor license agreements.  See the NOTICE file distributed with
-# this work for additional information regarding copyright ownership.
-# The ASF licenses this file to You under the Apache License, Version 2.0
-# (the "License"); you may not use this file except in compliance with
-# the License.  You may obtain a copy of the License at
-#
-#     http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-
-# Wrapper script around mirrors.cgi script
-# (we must change to that directory in order for python to pick up the
-#  python includes correctly)
-# may need to add cd line here ...
-exec /www/www.apache.org/dyn/mirrors/mirrors.cgi $* 
diff --git a/content/downloads.md b/content/downloads.md
index b861f4f..9aed9f4 100644
--- a/content/downloads.md
+++ b/content/downloads.md
@@ -6,8 +6,8 @@
       <p>
          <strong>Current Version:</strong> 4.0.0.1 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <strong>Released:</strong> January 20, 2021 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
-         ( <a href="http://s.apache.org/ctakes-4.0.0-release-notes">Release Notes</a> /
-         <a href="http://svn.apache.org/repos/asf/ctakes/tags/ctakes-4.0.0.1">SVN Tag</a> )
+         ( <a href="//s.apache.org/ctakes-4.0.0-release-notes">Release Notes</a> /
+         <a href="//svn.apache.org/repos/asf/ctakes/tags/ctakes-4.0.0.1">SVN Tag</a> )
       </p>
    </div>
    <div class="col-xs-12 col-sm-12">
@@ -63,9 +63,9 @@
                Please refer to the
                <a href="https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+4.0+User+Install+Guide">
                   User Install Guide</a> for assistance.</p>
-            <a href="[preferred]/ctakes/ctakes-4.0.0.1/apache-ctakes-4.0.0.1-bin.zip"
+            <a href="//downloads.apache.org/ctakes/ctakes-4.0.0.1/apache-ctakes-4.0.0.1-bin.zip"
                class="btn btn-download btn-primary btn-lg">Windows</a>
-            <a href="[preferred]/ctakes/ctakes-4.0.0.1/apache-ctakes-4.0.0.1-bin.tar.gz"
+            <a href="//downloads.apache.org/ctakes/ctakes-4.0.0.1/apache-ctakes-4.0.0.1-bin.tar.gz"
                class="btn btn-download btn-primary btn-lg">Mac/Linux</a>
          </div>
       </div>
@@ -78,9 +78,9 @@
                Please refer to the
                <a href="https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+4.0+Developer+Install+Guide">
                   Developer Install Guide</a> for assistance.</p>
-            <a href="[preferred]/ctakes/ctakes-4.0.0.1/apache-ctakes-4.0.0.1-src.zip"
+            <a href="//downloads.apache.org/ctakes/ctakes-4.0.0.1/apache-ctakes-4.0.0.1-src.zip"
                class="btn btn-download btn-primary btn-lg">Windows</a>
-            <a href="[preferred]/ctakes/ctakes-4.0.0.1/apache-ctakes-4.0.0.1-src.tar.gz"
+            <a href="//downloads.apache.org/ctakes/ctakes-4.0.0.1/apache-ctakes-4.0.0.1-src.tar.gz"
                class="btn btn-download btn-primary btn-lg">Mac/Linux</a>
          </div>
       </div>
@@ -95,9 +95,9 @@
                 and where/how to get them on the net, where to install them locally, and how to configure user/pass -->
                <a href="https://cwiki.apache.org/confluence/display/CTAKES/cTAKES+4.0+-+Dictionary+Lookup">
                   Dictionary Install Guide</a> for assistance. Install fast version if only running ctakes-fast. </p>
-            <a href="http://sourceforge.net/projects/ctakesresources/files/ctakes-resources-4.0-bin.zip/download"
+            <a href="//sourceforge.net/projects/ctakesresources/files/ctakes-resources-4.0-bin.zip/download"
                class="btn btn-download btn-primary btn-lg">All Versions</a>
-            <a href="http://sourceforge.net/projects/ctakesresources/files/sno_rx_16ab.zip/download"
+            <a href="//sourceforge.net/projects/ctakesresources/files/sno_rx_16ab.zip/download"
                class="btn btn-download btn-primary btn-lg">Fast Version</a>
          </div>
       </div>
@@ -113,80 +113,4 @@
          </div>
       </div>
    </div>
-   <div class="col-xs-12 col-sm-12">
-      <div class="row" id="mirror-container">
-         <h4>Current Download Mirror:</h4>
-         <ul>
-            <li>If the current mirror <b>[preferred]</b> returns an error, select another:
-               <form action="./downloads.cgi" method="get" id="SelectMirror">
-                  <select name="preferred">
-                     <option value="http://mirrors.sonic.net/apache/">http://mirrors.sonic.net/apache/</option>
-                     <option value="http://apache.mesi.com.ar/">http://apache.mesi.com.ar/</option>
-                     <option value="http://apache.claz.org/">http://apache.claz.org/</option>
-                     <option value="http://www.trieuvan.com/apache/">http://www.trieuvan.com/apache/</option>
-                     <option value="http://apache.tradebit.com/pub/">http://apache.tradebit.com/pub/</option>
-                     <option value="http://www.linuxtourist.com/apache/">http://www.linuxtourist.com/apache/</option>
-                     <option value="http://mirror.nexcess.net/apache/">http://mirror.nexcess.net/apache/</option>
-                     <option value="http://mirror.sdunix.com/apache/">http://mirror.sdunix.com/apache/</option>
-                     <option value="http://www.gtlib.gatech.edu/pub/apache/">http://www.gtlib.gatech.edu/pub/apache/
-                     </option>
-                     <option value="http://apache.mirrors.lucidnetworks.net/">http://apache.mirrors.lucidnetworks.net/
-                     </option>
-                     <option value="http://mirror.quintex.com/apache/">http://mirror.quintex.com/apache/</option>
-                     <option value="http://mirrors.ibiblio.org/apache/">http://mirrors.ibiblio.org/apache/</option>
-                     <option value="http://download.nextag.com/apache/">http://download.nextag.com/apache/</option>
-                     <option value="http://apache.cs.utah.edu/">http://apache.cs.utah.edu/</option>
-                     <option value="http://apache.osuosl.org/">http://apache.osuosl.org/</option>
-                     <option value="http://apache.mirrors.tds.net/">http://apache.mirrors.tds.net/</option>
-                     <option value="http://www.eng.lsu.edu/mirrors/apache/">http://www.eng.lsu.edu/mirrors/apache/
-                     </option>
-                     <option value="http://mirror.cogentco.com/pub/apache/">http://mirror.cogentco.com/pub/apache/
-                     </option>
-                     <option value="http://apache.petsads.us/">http://apache.petsads.us/</option>
-                     <option value="http://mirror.reverse.net/pub/apache/">http://mirror.reverse.net/pub/apache/
-                     </option>
-                     <option value="http://mirror.cc.columbia.edu/pub/software/apache/">
-                        http://mirror.cc.columbia.edu/pub/software/apache/
-                     </option>
-                     <option value="http://www.motorlogy.com/apache/">http://www.motorlogy.com/apache/</option>
-                     <option value="http://www.alliedquotes.com/mirrors/apache/">
-                        http://www.alliedquotes.com/mirrors/apache/
-                     </option>
-                     <option value="http://mirrors.gigenet.com/apache/">http://mirrors.gigenet.com/apache/</option>
-                     <option value="http://mirror.symnds.com/software/Apache/">
-                        http://mirror.symnds.com/software/Apache/
-                     </option>
-                     <option value="http://www.bizdirusa.com/mirrors/apache/">http://www.bizdirusa.com/mirrors/apache/
-                     </option>
-                     <option value="http://mirror.metrocast.net/apache/">http://mirror.metrocast.net/apache/</option>
-                     <option value="http://apache.spinellicreations.com/">http://apache.spinellicreations.com/</option>
-                     <option value="http://www.fightrice.com/mirrors/apache/">http://www.fightrice.com/mirrors/apache/
-                     </option>
-                     <option value="http://apache.mirrors.pair.com/">http://apache.mirrors.pair.com/</option>
-                     <option value="http://www.carfab.com/apachesoftware/">http://www.carfab.com/apachesoftware/
-                     </option>
-                     <option value="http://mirror.olnevhost.net/pub/apache/">http://mirror.olnevhost.net/pub/apache/
-                     </option>
-                     <option value="http://www.poolsaboveground.com/apache/">http://www.poolsaboveground.com/apache/
-                     </option>
-                     <option value="http://apache.mirrors.hoobly.com/">http://apache.mirrors.hoobly.com/</option>
-                     <option value="http://www.globalish.com/am/">http://www.globalish.com/am/</option>
-                     <option value="ftp://mirror.reverse.net/pub/apache/">ftp://mirror.reverse.net/pub/apache/</option>
-                     <option value="ftp://linux-files.com/apache/">ftp://linux-files.com/apache/</option>
-                     <option value="ftp://apache.mirrors.tds.net/pub/apache.org/">
-                        ftp://apache.mirrors.tds.net/pub/apache.org/
-                     </option>
-                     <option value="ftp://ftp.osuosl.org/pub/apache/">ftp://ftp.osuosl.org/pub/apache/</option>
-                     <option value="ftp://apache.cs.utah.edu/apache.org/">ftp://apache.cs.utah.edu/apache.org/</option>
-                     <option value="ftp://apache.mirrors.pair.com/">ftp://apache.mirrors.pair.com/</option>
-                     <option value="http://www.eu.apache.org/dist/">http://www.eu.apache.org/dist/ (backup)</option>
-                     <option value="http://www.us.apache.org/dist/">http://www.us.apache.org/dist/ (backup)</option>
-                  </select>
-                  <input type="submit" value="Change"/>
-                  You may also consult the <a href="http://www.apache.org/mirrors/">complete list of mirrors</a>.
-               </form>
-            </li>
-         </ul>
-      </div>
-   </div>
 </div>
\ No newline at end of file
diff --git a/content/examples.md b/content/examples.md
index ca0c199..95de4a4 100644
--- a/content/examples.md
+++ b/content/examples.md
@@ -93,12 +93,12 @@
    <div class="row boing-main-image">
       <div class="col-xs-12">
          <div id="boing-cvd" class="boing">
-            <a href="https://uima.apache.org/downloads/releaseDocs/2.2.2-incubating/docs/html/tools/tools.html#cvd.mainDisplayArea">
+            <a href="//uima.apache.org/downloads/releaseDocs/2.2.2-incubating/docs/html/tools/tools.html#cvd.mainDisplayArea">
                <img class="boing-image" src="images/CvdMain1.jpg">
             </a>
          </div>
          <div id="boing-cpe" class="boing">
-            <a href="http://uima.apache.org/downloads/releaseDocs/2.3.0-incubating/docs/html/tutorials_and_users_guides/tutorials_and_users_guides.html#ugr.tug.cpe.configurator_and_viewer">
+            <a href="//uima.apache.org/downloads/releaseDocs/2.3.0-incubating/docs/html/tutorials_and_users_guides/tutorials_and_users_guides.html#ugr.tug.cpe.configurator_and_viewer">
                <img class="boing-image" src="images/CPEimage006.jpg">
             </a>
          </div>
diff --git a/content/index.md b/content/index.md
index 0f5776e..37c8704 100644
--- a/content/index.md
+++ b/content/index.md
@@ -6,7 +6,7 @@
       <h1>Apache cTAKES&trade;</h1>
       <p>Apache cTAKES&trade; is a natural language processing system for extraction of information
          from electronic medical record clinical free-text.</p>
-      <a href="downloads.cgi" class="btn btn-primary btn-lg">
+      <a href="/downloads.html" class="btn btn-primary btn-lg">
          <span class="fa fa-download" aria-hidden="true"> </span> Download
       </a>
       <a href="examples.html" class="btn btn-info btn-lg">
@@ -14,8 +14,8 @@
       </a>
   </div>
   <div class="col-md-1 ">
-	  <a href="http://apache.org/foundation/contributing.html"><img class="support-apache" alt="Support Apache logo"
-      src="http://apache.org/images/SupportApache-small.png"></a>
+	  <a href="//www.apache.org/foundation/contributing.html"><img class="support-apache" alt="Support Apache logo"
+      src="//www.apache.org/images/SupportApache-small.png"></a>
   </div>
  </div>
 </div>
diff --git a/content/mailing.md b/content/mailing.md
index c1bf125..063bf7c 100644
--- a/content/mailing.md
+++ b/content/mailing.md
@@ -76,22 +76,22 @@
             </tr>
             <tr>
                <td>Users</td>
-               <td><a href="http://mail-archives.apache.org/mod_mbox/ctakes-user/">Archive</a>
+               <td><a href="//mail-archives.apache.org/mod_mbox/ctakes-user/">Archive</a>
                </td>
             </tr>
             <tr>
                <td>Developers</td>
-               <td><a href="http://mail-archives.apache.org/mod_mbox/ctakes-dev/">Archive</a>
+               <td><a href="//mail-archives.apache.org/mod_mbox/ctakes-dev/">Archive</a>
                </td>
             </tr>
             <tr>
                <td>Commit Notifications</td>
-               <td><a href="http://mail-archives.apache.org/mod_mbox/ctakes-notifications/">Archive</a>
+               <td><a href="//mail-archives.apache.org/mod_mbox/ctakes-notifications/">Archive</a>
                </td>
             </tr>
             <tr>
                <td>Commits Mailing List</td>
-               <td><a href="http://mail-archives.apache.org/mod_mbox/ctakes-commits/">Archive</a>
+               <td><a href="//mail-archives.apache.org/mod_mbox/ctakes-commits/">Archive</a>
                </td>
             </tr>
          </table>
diff --git a/content/sponsors.md b/content/sponsors.md
index 66a1d51..4171e6d 100644
--- a/content/sponsors.md
+++ b/content/sponsors.md
@@ -14,12 +14,12 @@
       </picture>
       <h2> Official Apache Sponsors </h2>
       <p> List of Apache Software Foundation
-         <a href="http://www.apache.org/foundation/thanks.html" alt="Link to Apache Software Foundation Sponsors">
+         <a href="//www.apache.org/foundation/thanks.html" alt="Link to Apache Software Foundation Sponsors">
             Sponsors </a>
       </p>
       <h2> Become a Sponsor </h2>
       <p>
-         <a href="http://www.apache.org/foundation/thanks.html"
+         <a href="//www.apache.org/foundation/thanks.html"
             alt="Link to Apache Software Foundation Sponsorship Program"> Sponsorship Form </a>
       </p>
    </div>
diff --git a/content/tutorials.md b/content/tutorials.md
index 5e7c43f..9b2d6d0 100644
--- a/content/tutorials.md
+++ b/content/tutorials.md
@@ -18,10 +18,10 @@
          </p>
       </div>
       <div class="col-md-6 videoWrapper">
-         <iframe src="http://player.vimeo.com/video/24829353?title=0&amp;byline=0&amp;portrait=0" width="500"
+         <iframe src="//player.vimeo.com/video/24829353?title=0&amp;byline=0&amp;portrait=0" width="500"
                  height="250" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
-         <p><a href="http://vimeo.com/24829353">Natural Language Processing and Information Extraction for
-            Biomedicine</a> from <a href="http://vimeo.com/cbmi">CBMI</a> on <a href="https://vimeo.com">Vimeo</a>.</p>
+         <p><a href="//vimeo.com/24829353">Natural Language Processing and Information Extraction for
+            Biomedicine</a> from <a href="//vimeo.com/cbmi">CBMI</a> on <a href="https://vimeo.com">Vimeo</a>.</p>
       </div>
    </div>
    <hr>
diff --git a/content/usedby.md b/content/usedby.md
index bddcefb..5df3112 100644
--- a/content/usedby.md
+++ b/content/usedby.md
@@ -19,7 +19,7 @@
    </div>
    <div class="row">
       <h2>Companies</h2>
-      <p><a href="http://www.wiredinformatics.com">Wired Informatics</a></p>
+      <p><a href="//www.wiredinformatics.com">Wired Informatics</a></p>
    </div>
    <div class="row">
       <h2>Publications</h2>
@@ -42,10 +42,10 @@
          <p> Sohn, Sunghwan; Murphy, Sean; Masanz, James; Kocher, Jean-Pierre; Savova, Guergana. 2010. Classification of medication status change in clinical narratives. AMIA Fall symposium. </p>
          <p> Savova, Guergana; Fan, Jin; Ye, Zi; Murphy, Sean; Zheng, Jiaping; Chute, Christopher and Kullo, Iftikhar. 2010. Discovering peripheral arterial disease cases from radiology notes using natural language processing. AMIA Fall symposium. </p>
          <p> Savova, Guergana; Masanz, James; Ogren, Philip; Zheng, Jiaping; Sohn, Sunghwan; Kipper-Schuler, Karin and Chute, Christopher. 2010. Mayo Clinical Text Analysis and Knowledge Extraction System (cTAKES): architecture, component evaluation and applications. JAMIA 2010;17:507-513 doi:10.1136/jamia.2009.001560 </p>
-         <p> Cheng, Lionel; Zheng, Jiaping; Savova, Guergana and Erickson, Bradley. 2010. Discerning tumor status from unstructured MRI reports – completeness of information in existing reports and utility of natural language processing. Journal of Digital Imaging of the Society of Imaging Informatics in Medicine, ISSN: 0897-1889: 23(2), 119-133. PMID: 19484309. (Best paper 2010 award of the Journal of Digital Imaging). http://www.ncbi.nlm.nih.gov/pubmed/19484309 </p>
+         <p> Cheng, Lionel; Zheng, Jiaping; Savova, Guergana and Erickson, Bradley. 2010. Discerning tumor status from unstructured MRI reports – completeness of information in existing reports and utility of natural language processing. Journal of Digital Imaging of the Society of Imaging Informatics in Medicine, ISSN: 0897-1889: 23(2), 119-133. PMID: 19484309. (Best paper 2010 award of the Journal of Digital Imaging). https://www.ncbi.nlm.nih.gov/pubmed/19484309 </p>
          <p> Sohn, Sunghwan and Savova, Guergana. 2009. Mayo Clinic smoking status classification system. Proc. AMIA, Nov. 2009. </p>
          <p> Garla, V. et al. The Yale cTAKES extensions for document classification: architecture and application. Journal of the American Medical Informatics Association (2011). doi:10.1136/amiajnl-2011-000093 </p>
-         <p> Garla, V and Brandt, C. Ontology-Guided Feature Engineering for Clinical Text Classification (2012) http://dx.doi.org/10.1016/j.jbi.2012.04.010. </p>
+         <p> Garla, V and Brandt, C. Ontology-Guided Feature Engineering for Clinical Text Classification (2012) https://dx.doi.org/10.1016/j.jbi.2012.04.010. </p>
    </div>
    <div class="row">
       <div class="col-md-5 col-sm-5 col-padded-top col-center">
diff --git a/theme/apache/templates/base.html b/theme/apache/templates/base.html
index f1dc3e6..f94baa8 100644
--- a/theme/apache/templates/base.html
+++ b/theme/apache/templates/base.html
@@ -34,7 +34,7 @@
    <link href="/css/cerulean.min.css" rel="stylesheet">
    <link href="/css/custom.css" rel="stylesheet">
 
-   <link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
+   <link href='//fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
    <link href="/css/main.css" rel="stylesheet">
    <link href="/css/apache.css" rel="stylesheet">
    <link href="/css/index.css" rel="stylesheet">
@@ -43,7 +43,7 @@
    <link href="/css/why_ctakes.css" rel="stylesheet">
    <link href="/css/main.css" rel="stylesheet">	
 
-   <script src="https://code.jquery.com/jquery.js"></script>
+   <script src="//code.jquery.com/jquery.js"></script>
    <script type="text/javascript">
           var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-41673085-1']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })();	
    </script>
@@ -79,7 +79,7 @@
                      Get Started <b class="caret"></b>
                   </a>
                   <ul class="dropdown-menu">
-                     <li><a href="/downloads.cgi">Download cTAKES&trade;</a></li>
+                     <li><a href="/downloads.html">Download cTAKES&trade;</a></li>
                      <li><a href="/examples.html">Examples</a></li>
 					 <li><a href="//healthnlp.github.io/examples/" target="_blank">Demos</a></li>
                      <li><a href="/tutorials.html">Tutorials</a></li>